I'm using xcodebuild install -alltargets -iphoneos4.2 -activeconfiguration provisioning_profile=path_of_my_provisioningprofile code_sign_identity=identity
. This command is building my app and i am getting build file (.app) also. But how to install the app in to device from command line. Please help me in this issue.
Install the App on User Devices For macOS, double-click the file to install and run it. To install iOS, iPadOS, tvOS, or watchOS apps using Xcode: Attach the device to the computer, or attach the paired phone for a watchOS device. Select Window > Devices and Simulators, and then select the Devices tab.
Terminal is a sandboxed command line environment for iOS that has over 30 commands currently available, covering many of the most used command line tools and commands you know and love, like cat, grep, curl, gzip and tar, ln, ls, cd, cp, mv, rm, wc, and more, all available right on your iPhone or iPad.
Press to launch Cydia from your iPhone's Springboard. Once Cydia opens press to select the Sections tab at the bottom of the screen. Press to select Terminal Support from the list of Sections. Press to select MobileTerminal from the list of Packages available.
Fruitstrap
is no longer maintained, for a more up to date project checkout the fork by PhoneGap called ios-deploy
.
To install run: npm install -g ios-deploy
Here are some examples of how to use it:
// deploy and debug your app to a connected device ios-deploy --debug --bundle my.app // deploy and launch your app to a connected device, but quit the debugger after ios-deploy --justlaunch --debug --bundle my.app // deploy and launch your app to a connected device, quit when app crashes or exits ios-deploy --noninteractive --debug --bundle my.app // Upload a file to your app's Documents folder ios-deploy --bundle_id 'bundle.id' --upload test.txt --to Documents/test.txt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With