Open felixkrautschuk opened 3 years ago
The v8 runtime (v7+) does not support i386 and x86 I would suggest ignoring those archs in your build.xcconfig
or the simplest solution would be setting the platform to 11 (platform :ios, '11.0'
) which removed 32bit support .. weird 7 worked but yes if you wanna use those other archs you could use the jsc runtime
My config
The problem When creating a new NativeScript app and adding the following to App_Resources/iOS/Podfile:
or
I have trouble to build the app and run the app on iOS in some situations.
Using @nativescript/ios 7.0.0**
Using @nativescript/ios 7.0.1 - 7.1.0
So I guess the important part is:
The newly created NativeScript app using @nativescript/ios 7.1.0 and the Mapbox-iOS-SDK Podfile can be found here: testapp.zip
There is already a discussion on Github for the nativescript mapbox plugin here: https://github.com/nativescript-community/ui-mapbox/issues/3#issuecomment-732140591 . Yes, it might be related to the Mapbox-iOS-SDK somehow, as this problem does not exist for all Pods, for example
pod 'Google-Mobile-Ads-SDK', '7.67.0'
is working fine with the latest ios v8 runtime.BUT the error message above sounds like a NativeScript issue, and when I create a new native Xcode iOS App Project and add the Mapbox Pod there, xcode is building and running the project in Simulator as expected. The native xcode project can be found here: iosmapboxapp.zip (Run
pod install
first, when you want to try it out).It would be nice if we could use the latest ios runtime and also all ios pods without having problems to build the ios app. Thanks in advance!