-
-
Notifications
You must be signed in to change notification settings - Fork 197
IOS App not building since Xcode Update #4035
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @divyachandana, looking at this error I can see that there are multiple TNSCore.frameworks in your node_modules directory. You can find more info in this thread. I'm closing this issue as it is duplicated to #3909 |
Just for those that are looking for an answer, I looked through that thread and many, many others that claimed to have a solution to this issue and did not. After hours I managed fix the problem myself. I hope this will save others the time!! This is basically caused when you have multiple plugins that need the same files but different versions of them. This problem can be avoided by making sure all nativescript plugins that are used are the same versions. This would be a good first step so you know that the plugins will still work after deleting the duplicate files. SOLUTION!!!
|
Thank you r58developer. Your fix worked for me :) |
Totally fixed the problem for me. I simply deleted the libraries that were complaining of duplication and let tns rebuild them. Fixed! |
Not working for me. There are no multiple .framework files listed in the Xcode but I still get this error |
Xcode build...
error: unexpected duplicate task: CodeSign /Users/user/Desktop/sourcecode/srs/client/platforms/ios/build/emulator/client.app/Frameworks/TNSCore.framework (in target 'client')
error: unexpected duplicate task: CodeSign /Users/user/Desktop/sourcecode/srs/client/platforms/ios/build/emulator/client.app/Frameworks/TNSCore.framework (in target 'client')
error: Multiple commands produce '/Users/user/Desktop/sourcecode/srs/client/platforms/ios/build/emulator/client.app/Frameworks/TNSCore.framework':
error: Multiple commands produce '/Users/user/Desktop/sourcecode/srs/client/platforms/ios/build/emulator/client.app/Frameworks/TNSCore.framework/TNSCore':
warning: duplicate output file '/Users/user/Desktop/sourcecode/srs/client/platforms/ios/build/emulator/client.app/Frameworks/TNSCore.framework' on task: PBXCp /Users/user/Desktop/sourcecode/srs/client/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/user/Desktop/sourcecode/srs/client/platforms/ios/build/emulator/client.app/Frameworks/TNSCore.framework (in target 'client')
warning: duplicate output file '/Users/user/Desktop/sourcecode/srs/client/platforms/ios/build/emulator/client.app/Frameworks/TNSCore.framework/TNSCore' on task: PBXCp /Users/user/Desktop/sourcecode/srs/client/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/user/Desktop/sourcecode/srs/client/platforms/ios/build/emulator/client.app/Frameworks/TNSCore.framework (in target 'client')
warning: duplicate output file '' on task: PBXCp /Users/user/Desktop/sourcecode/srs/client/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/user/Desktop/sourcecode/srs/client/platforms/ios/build/emulator/client.app/Frameworks/TNSCore.framework (in target 'client')
note: Using new build systemnote: Planning buildnote: Constructing build description
** BUILD FAILED **
Unable to apply changes on device: 70C7A1CB-1359-484C-9500-5352B4641CD8. Error is: Command xcodebuild failed with exit code 65.
The text was updated successfully, but these errors were encountered: