Nativescript iOS Application Profiling on Device
How to run a Nativescript App without Telerik Platform and Apple Developer Membership. After searching on the Nativescript Documentation the only solution I
found is with a Developer Membership of Apple.
So after stucking a time on this I found a solution on how to run the App on Device without telerik appbuilder or Membership of Apple Developer.
- Calculating number of lines of dynamic UILabel (iOS7)
- App on appstore has iPad support when iPhone family set?
- CKQueryOperation not returning error when device offline
- Empty method name, what does this actually do?
- Capture screen based on UIImage size
- Xcode 7 error: could not read CFBundleIdentifier from Info.plist (null)
Solutions Collect From Internet About “Nativescript iOS Application Profiling on Device”
After searching for a while on how to test a Nativescript App on iOS without
Telerik Platform and no Apple Developer Membership, and no luck on any documentation. I have a got a solution which I would like to share if anyone is stuck on it too.
For this post I will take the Sample-Groceries App of NativeScript.
- Part – Compile Nativescript app
Follow the instructions of Nativescript to run the sample app on a Device Emulator, after successfully running the App on the Emulator you know you have a compiled XCode App.
- Part – Prepare Provisioning Profile
To obtain a valid provisioning Profile you have to open XCode.
Create a new Project (Game per example): File -> New -> Project
Important! After that you have to select your iPhone on the list:
After selecting the device you have to fix a Issue.
It says: No matching provisioning profiles found.
Click the button “Fix Issue”
Next step is:
Take note of the Bundle identifier, we need to modify the sample app to this Bundle Identifier.
Now you can close the project in XCode.
After this you should be able to view the provisioning profile in your account:
XCode -> Preferences -> Accounts -> View Details
- Part – Open the compiled Nativescript App in XCode
Locate your sample-groceries App in Finder.
Inside the folder you should have this structure:
Navigate into Platforms folder -> ios
In the ios folder you should have a XCode project file:
Open this project file with XCode.
What we have to do is to change the Bundle identifier of our app.
On the sample App the Bundle Identifier is “com.nativescript.groceries”
we have to change this with our Bandle Identifier created in the 2. Part.
in this case “hagele.marc.groceries”
Then click on: Product -> Build For -> Profiling
After finishing the Build you should be able to run your NativeScript project
on your Device.
The first time its possible that XCode complains about permissions.
Follow the instructions of XCode.
After that you will be able to run the App with:
I hope it helps somebody!
- AES-256 encryption & Apple iTunes export restrictions
- How Single App Binary Supports 64-bit and 32-bit Apps
- ROL / ROR on variable using inline assembly in Objective-C
- Set rate at which AVSampleBufferDisplayLayer renders sample buffers
- why is “error:&error” used here (objective-c)
- Xcode Lost connection to iPhone
- Realm Swift 0.92.3 “Run Script Phase” not working
- How can I implement Apple Push Notification Service on iOS Application?
- How to recreate a Pulse-like UI?
- Controlling an object orbiting a sphere
- GPX File does not load iOS Xcode
- XCode 6.1 and 6.1.1 Crashes on Debugger Breakpoint (Simulator)
- Static library and internationalization
- SpriteKit Nodes Sticking to Edges of Scene / Not Bouncing
- Send mail with file attachment