iOS apps without developer license / app store - ios

I'm new to iPhone development and was wondering if there is a good/easy guide I could follow to install an iOS app on a jailbroken phone without joining the developer program.
Basically, I don't know if I'm going to have the time to learn everything I need to learn, but would like to make a start and see where it leads. Once I have something decent put together I can make plans to go through official channels.
I followed a guide that I found in SO, but when launching the app it immediately dies/crashes back to the springboard. So I can only assume I did something wrong, or the guide is outdated.
I'm using iOS 4.3.3 and xCode 4.
here is the link to the guide I followed: iPhone App Minus App Store?
Thanks

Just to get the warning away.
I just found a guide that worked for me: How can I deploy an iPhone application from Xcode to a real iPhone device?. all I had to do was change the 4.2 in one of the commands to 4.3

With Xcode 7 it's now free to run your apps on your iPhone, iPad or Apple Watch (beta): https://developer.apple.com/xcode/
Now everyone can get their app on their Apple device. Xcode 7 and
Swift now make it easier for everyone to build apps and run them
directly on their Apple devices. Simply sign in with your Apple ID,
and turn your idea into an app that you can touch on your iPad,
iPhone, or Apple Watch. Download Xcode 7 beta and try it yourself
today. Program membership is not required.

This isn't my own method, but I thought I'd help you out since I've just read this elsewhere:
Answer by WrightsCS
There's a way you can do this.
You will need ROOT access to edit the following file.
Navigation to /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk and open the file SDKSettings.plist.
In that file, expand DefaultProperties and change CODE_SIGNING_REQUIRED to NO, while you are there, you can also change ENTITLEMENTS_REQUIRED to NO also.
You will have to restart Xcode for the changes to take effect. Also, you must do this for every .sdk you want to be able to run on device.
Now, in your project settings, you can change Code Signing Identity to Don't Code Sign.
Your app should now build and install on your device successfully."

Related

Run any app in iOS 10+ from command line without jailbreaking

Is there a way to run any app in iOS 10+ from command line/Mac without jailbreaking?
Re-signing and none of the existing tools seem to work (ios-deploy, Instruments) nor have I been able to find a way via iTunes or other programs.
Yes it is possible for any App you have the source code for.
No it is not possible for any App you acquired from the App store or direct download.
Not quite sure I fully understand your emphasis on any app, but here is what I understand:
1) If you mean you want to run any app from the app store that can currently be downloaded, and you have a .ipa file, you can definitely install it manually to another device using this method (iTunes drag and drop)
2) If, however, you're trying to run an .ipa on a Simulator, that's not possible, as described by this answer.
3) Lastly, if you have source, which I'm confused about since you mention re-signing, then you can easily build that source into an executable for either Simulator or device using either Xcode, or since you asked about command line, you could also use xcodebuild, info found here
I hope one of these 3 options is what you're looking for, as it's hard to tell from the wording of the question. If it's not, expanding on exactly what use case you're trying to resolve would be very helpful.
From the comments in #BHendricks answer, it seems you want to use the command line on your computer to start apps that are installed on an iOS 10+ device.
This is not possible without jailbreaking the phone!
On a jailbroken phone it might be possible to write something that connects over ssh and starts apps, but on vanilla iOS this is disabled for security. You could search for an app that you can send commands, but I highly doubt iOS apps have access to system features like starting other apps, as this is also a large security risk.
If you have the ipa, you can install the app via iTunes. This is what we used to ask QAs to test apps on devices and it works fine. Please refer to this [SO] for detail Install IPA with iTunes 12.
Use Cydia Impactor (cydiaimpactor.com) to sign the app. 99% chance it will work

IOS: Can not install our app from Appstore

Our new IOS app was updated to Appstore successful yesterday.
Some users can update normally but the others not.
Include myself, we can see Appstore is downloading our app,so do the icon on desktop.
But when downloaded the icon of our app disappear.
It seems that the app was not installed.
Some 6 and 6s users have this question.
Our app is passed by Appstore, and some user can download and install it.
The package seems worked.
Why the app can not be installed in some users' IPHONE?
Finally catch the problem.
Because of the pool network, we retried a few times updating the package.
At the last time, we choose the wrong package with lower version code in Info.plist.
The package had a lower code, but may apple keep a higher version code for verification.
We get a lot of 1stars caused by this which made us upset.
I don't understand why Apple put it to AppStore in such a case.
Anyway, please be careful at package updating.
No issues with you code as well as your package info. Yesterday Apple had issue with their server.
Refer this link for more info.
If app is installed without any issue & in some device its not than there might be few possible reasons like below:
First possible reason is Minimum IOS version set in the App is higher than the device OS version. Let say for ex: In your App you have set the Minimum iOS version to 9.0. And users who are not able to install will running of less than 9.0.
Second possible reason is Architecture support. May be your app not supporting arm 64 support & due to that it will not allowing to install on arm64 based devices.
Now in your case i strongly believe there will be minimum iOS version issue. Why less chances of second issue is as you know now arm64 support is compulsory in iOS Apps. Otherwise Apple will reject your app.
I hope this will help you.

Testing in a iOS 6.1 jailbroken device without Hackulo.us and Apple developer ID

first of all, I know there are many questions similar to this one, but, they are old and the answers in them unfortunately no longer work, since the game has changed without Hacklo.us to do part of the process.
Basically, I want to develop for iOS and test the apps I make, and later in the future I may want to submit them to the Apple Store, but for now I'm not willing to pay 99$ to join the Apple iOS developer program just to use my apps in my iPhone.
I have a jailbroken iPhone 4S with iOS 6.1.
The only posts I found about how to do this, either use Hackulo.us (that went down about 2 months ago) or something called Jailcoder that is also offline and they also seem to work with only old versions of XCode/iOS (not clear about that point).
Any new progresses on how to to this with the present conditions?
Simple. After building the app, just use some utility (SSH, iExplorer, etc.) to copy the app bundle to the /Applications directory on the device. After that, either run the uicache tool or respring the iPhone to make the application appear on the home screen.

Deploying iOS App in Xcode 4.3+ without certificate

Hello all!
I want to test how my Cordova-ported apps run on real device, and if I like performance, I'll buy Apple Developer Certificate. But now I dont want to waste hundred bucks just to see my webapps running slow and ugly as shit. I've looked through all that forums and also here on stackoverflow, and all solutions seem to relate to iOS SDK 4.2 and earlier.
And what about Xcode 4.3+?
I've edited /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/SDKSettings.plist and also turned out code signing in project settings.
I've got two MyProject.app's from "Build for Running" and "Build for Archiving" and tried to sync them to my iPod touch 4 via iTunes, but in both cases app crashes immediately after launch.
I also extracted .ipa from iTunes and tried to install it via Installous, but got the same problem. Thing crashes.
I also got .xcarchive via Product->Archive but don't know what is to be done next with it..
So, question is here: how can I deploy my own app to my own jailbroken iPod touch?
Thank you.
I would suggest you to take a look at JailCoder.
It allows you to Debug your app made with XCode on a real device without a developer account.
Please keep in mind such solution should only be temporary. If it runs well and you want to do further developing / deployment consider buying a Developer account.
On jailbroken iDevices, Cydia (and other dpkg installers) install apps to /private/Applications/
So why not try:
/Applications/MyProject.app
Then open a terminal on the device and navigate to /Applications:
chmod -777 MyProject.app
chown root MyProject.app

iOS app works on developer's iPad, fails immediately on in-house iPads

I have an iOS app written by someone else that I need to put on a colleague's iPad. We recently got an Apple Enterprise developer account, so in-house distribution becomes available, and is in fact the preferred distribution method in this case.
I was able to switch to the the enterprise provisioning profile in Xcode and build the app successfully. I can use Xcode to sync it to my iPad and it runs without error there. I then email the app to a colleague and he uses iTunes to sync it to his iPad. When he runs it, the screen goes black for a moment and then returns to the home page with all the installed apps on it.
Do you have any idea what is going wrong? Where can I look for more detailed error messages? I did some digging online but don't really know where to look, since the problem is so vague. Searches on "iPad app fails on startup" or "iPad app fails on launch" yield little. Some suggest simply restarting the iPad, but I'd like to know what is really going on and solve any underlying problems.
One thing that is a little weird is that Xcode generated a .xcarchive file, not a .ipa as I was expecting, when I built an archive as Apple's documentation suggested.
I am using Xcode 4.1 on Mac OS 10.7.2 with a 4.3.5 iPad 2. My colleague has a 4.3.5 iPad 2 as well.
My question was mostly where I could look for more information. #keno's suggestion to use the iPhone Configuration Utility was spot on. It let me view the console output of the app and debug from there. Problem solved.
Regarding the weirdness about the .xcarchive being generated and not a .ipa file, I didn't notice the Share... button in the upper right of Xcode's archive panel in its Organizer window. Sharing through that button did the trick, too.
Live and learn. Thanks everyone.

Resources