You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I try to build a Nativescript application with nativescript-ui-sidedrawer for the iOS Simulator on my Apple M1 machine, the build fails with the following error:
Xcode build...
objc[30648]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x204eec188) and ?? (0x1145942b8). One of the two will be used. Which one is undefined.
objc[30648]: Class AMSupportURLSession is implemented in both ?? (0x204eec1d8) and ?? (0x114594308). One of the two will be used. Which one is undefined.
ld: building for iOS Simulator, but linking in dylib built for iOS, file '/path/to/project/node_modules/nativescript-ui-sidedrawer/platforms/ios/TNSSideDrawer.framework/TNSSideDrawer' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Building targets in parallel
note: Using codesigning identity override:
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete
/path/to/project/platforms/ios/testproject.xcodeproj: warning: Building for iOS Simulator, but the linked and embedded framework 'TNSCore.framework' was built for iOS + iOS Simulator. (in target 'testproject' from project 'testproject')
/path/to/project/platforms/ios/testproject.xcodeproj: warning: Building for iOS Simulator, but the linked and embedded framework 'TNSSideDrawer.framework' was built for iOS + iOS Simulator. (in target 'testproject' from project 'testproject')
** BUILD FAILED **
Which platform(s) does your issue occur on?
iOS (Simulator on a M1 Macbook Pro)
Please provide the following version numbers that your issue occurs with:
Progress NativeScript UI plugin version: 9.0.3.
CLI: 8.0.2
@nativescript/core: 8.0.0
@nativescript/ios: 8.0.0
Please tell us how to recreate the issue in as much detail as possible.
Create a new test project on an Apple Silicon M1 and add the dependency "nativescript-ui-sidedrawer": "9.0.3" to your package.json
Build and run the project
The text was updated successfully, but these errors were encountered:
The workaround to this is build the entire app throughout Rosetta. Clean your cocoapods installation, and rebuild everything using the Rosetta command.
Its not the ideal way, but it is what it is. I'm removing all RAD components from the APP as its not maintained anymore.
Please, provide the details below:
Tell us about the problem
Whenever I try to build a Nativescript application with nativescript-ui-sidedrawer for the iOS Simulator on my Apple M1 machine, the build fails with the following error:
Which platform(s) does your issue occur on?
iOS (Simulator on a M1 Macbook Pro)
Please provide the following version numbers that your issue occurs with:
Please tell us how to recreate the issue in as much detail as possible.
The text was updated successfully, but these errors were encountered: