Open dmoptimal opened 4 years ago
warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the fethermobile editor. (in target 'fethermobile' from project 'fethermobile')
This is your hint. Unfortunately Apple provisioning and entitlements can be a nightmare.
Try creating a file "fethermobile.entitlements" in App_Resources/iOS containing:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>aps-environment</key>
<string>production</string>
</dict>
</plist>
I don't know if it'll work, it's entirely a guess.
At first glance, it looks like your tns-ios version is incorrect for xcode 12.
https://nativescript.org/blog/nativescript-6-7-xcode-compatibility/
The nativescript-cli specifically deals with issuing commands to xcode. You will need to upgrade that and some other parts. What "other parts" you ask? Well, Alex Ziskind has a lot to say about that. I think this vid is essential to understand the difference between CLI, Core and Runtime: https://www.youtube.com/watch?v=GrKCLRUdgdI
For you, I think you have a few options to get things working:
Issue I've moved to mac for development from windows. I cloned my repo, (installed nativescript cli globally) and ran
tns run ios --bundle --clean
. I had to make some changes to the webpack file. After that everything seems to build fine up until it gets to the XCode build. I then get the message below (Sorry for the wall of text) but I think it may be related to version of firebase/xcode I'm trying to use?Versions Xcode 12 macOS Big Sur iOS 14 (Simulator)
Package.json
Error on ios build