Open minaorangina opened 7 years ago
From @heron2014 on December 20, 2016 16:16
The setup below includes how to remove the Tests folder, which can cause problems with running the app on the device.
open ios/Spark.xcodeproj
If you see a tests folder ([your-app-name]Tests), do the following:
We already have deleted the AppnameTests folder but it was located there as the image above.
Reference stackoverflow issue which helped us out: http://stackoverflow.com/questions/13870019/xcode-can-i-delete-test-target
http://stackoverflow.com/questions/26324163/xcode-how-to-delete-target-in-xcode-6-1
TARGETS
, click on the appGeneral
section under Signing
add your apple account and create team (just add the default one)You would need your apple id and password
As the following screenshot you need to enable Developer App certificate in your device, follow the instructions.
The project should open up automatically on your device. If it doesn't, try disconnecting and reconnecting your device to your Mac, and click Run again.
From @heron2014 on December 20, 2016 13:9
Reference: https://facebook.github.io/react-native/docs/running-on-device.html
https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/LaunchingYourApponDevices/LaunchingYourApponDevices.html#//apple_ref/doc/uid/TP40012582-CH27-SW4
Copied from original issue: DRDD2016/sparkn2#53