Post

Replies

Boosts

Views

Activity

Xcode archive Error
Hello when i execute this command to generate a framework for arm 64 : xcodebuild archive -workspace BlueStackSDK.xcworkspace -scheme "$n" -sdk iphonesimulator -archivePath "$BUILD_PATH/$n/ios_simulators64.xcarchive" -arch arm64  BUILD_LIBRARY_FOR_DISTRIBUTION=YES BITCODE_GENERATION_MODE=bitcode 2>&1 SKIP_INSTALL=NO i'm getting this error : normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler Also this error : error:     unsupported Swift architecture #error unsupported Swift architecture  ^ 1 error generated. /Users/Blabla/Documents/Projects/MAdvertise/Blue Stack New Hope/BlueStackSDK/Adapters/BlueStackLocationAdapter/MAdvertiseLocationAdapter.m:10:9: fatal error:     could not build module 'MAdvertiseLocation' #import <MAdvertiseLocation/MAdvertiseLocation-Swift.h> any suggestions thank you
2
1
1.2k
Sep ’22
Swift package dependency add external dependencies for frameworks
Hello, I have my own library which is publised under cocoapods. i decide to publish it via Swift Package Manager (spm). In fact, my library depends on another external frameoworks. how can I manage that ? for example in the podspec : spec.subspec 'Google-Mobile-Ads-SDK' do |dfp|     dfp.vendored_frameworks = 'BlueStackDFPAdapter.xcframework'     dfp.dependency 'BlueStack-SDK/Core'     dfp.dependency 'Google-Mobile-Ads-SDK','9.13.0'   end how can we move it to the spm? thank you.
2
0
945
Feb ’23