/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build1428186720654561546xxx/dist/cameraApp-src/com_superAlpha_cameraApp_myNativeImpl.m:2:9:
fatal error: ' RandomGenerator-Swift.h' file not found
#import "RandomGenerator-Swift.h"
        ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.

warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
4.3, but the range of supported deployment target versions is 8.0 to
13.2.99. (in target 'MySexyRandom' from project 'Pods')
** ARCHIVE FAILED **


The following build commands failed:
CompileC
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build1428186720654561546xxx/dist/build/Build/Intermediates.noindex/ArchiveIntermediates/cameraApp/IntermediateBuildFilesPath/cameraApp.build/Release-iphoneos/cameraApp.build/Objects-normal/arm64/com_superAlpha_cameraApp_myNativeImpl.o
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build1428186720654561546xxx/dist/cameraApp-src/com_superAlpha_cameraApp_myNativeImpl.m
normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Process return code is 65
Failed xcodebuild step
ᐧ

Le ven. 19 juin 2020 à 13:02, Amine ABIABA <[email protected]> a écrit :

>
> Hi Shai
> I was trying to use  swift library  (*randomGenerator.framework*) . but
> not working for me.
>
> warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
> 4.3, but the range of supported deployment target versions is 8.0 to
> 13.2.99. (in target 'RandomGenerator' from project 'Pods')
> ** ARCHIVE FAILED **
>
>
> The following build commands failed:
> CompileC
> /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build7750962809406776673xxx/dist/build/Build/Intermediates.noindex/ArchiveIntermediates/cameraApp/IntermediateBuildFilesPath/cameraApp.build/Release-iphoneos/cameraApp.build/Objects-normal/arm64/com_superAlpha_cameraApp_myNativeImpl.o
> /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build7750962809406776673xxx/dist/cameraApp-src/com_superAlpha_cameraApp_myNativeImpl.m
> normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
> ᐧ
>
> Le ven. 19 juin 2020 à 04:02, Shai Almog <[email protected]> a écrit :
>
>> Wrap the swift calls with an objective-c or C API and package that into a
>> static library. Export the Objective-C or C code and a header API file.
>> Then the static library and header file can be placed in the native/ios
>> directory. Once there you can invoke that code from the native interface
>> just like any other native API
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "CodenameOne Discussions" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/codenameone-discussions/a3e84125-f92e-4e6d-9652-253734f07b8do%40googlegroups.com
>> <https://groups.google.com/d/msgid/codenameone-discussions/a3e84125-f92e-4e6d-9652-253734f07b8do%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CABLoU%3D8u%3DQw5Te8UDBDUszkfF8m32QXGSco2%2B8F5uucsrFacZQ%40mail.gmail.com.

Reply via email to