Theos SDK 3.2 and iPad - objective-c

okay two questions,
1. how do you force theos to use the 3.2 sdk (is it as simple replacing the 2.0 sdk with the 3.2 one? and
2. how would you develop a simple gui application for iPad using the sdk

If you haven't figured this out yet, and for anyone else looking for this information the solution is quite simple.
In your Info.plist add the "UIDeviceFamily" key and an array with integer's for the devices you wish to support, 1 for iPhone/iTouch and 2 for iPad.
Example.
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
This makes the app universal.
More Info: http://developer.apple.com/library/ios/#documentation/general/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html

Install BigBoss Recommended Tools from Cydia. Download the libgcc package from http://apt.saurik.com/cydia/debs/libgcc_4.2-20080410-1-6_iphoneos-arm.deb and then install it. After that install the GNU C Compiler also from Cydia. Add the repo ininjas.com/repo/ and install class-dump-z, Perl iPhone Source and Mobile Terminal from Cydia. Fire up terminal and run su, enter root password (alpine by default) and then finallyinstalltheos3. After that let it do its magic then run $THEOS/bin/nic.pl to get started!

Related

Install and distribute dylib with program

I purchased a chilkat FTP2 license, and need to replace my existing code (taken from the Apple's SimpleFTPSample) with the one provided by this library.
How do I properly install it on my Mac and set my project up to distribute it with my App? Does every user need to install it on his Mac by himself or can it be packed with the App?
Every tutorial I found is quite complicated, I would need something simple as I am new to Xcode and Objective-C
EDIT:
Distribution is as downloadable App over my webpage.
Its for Mac OS X.
You can not distribute non-Apple dynamic libraries with iOS apps on the app store.
The reason every tutorial you find is complicated is because the only way to get Xcode to actually build an iOS app with a dynamic library involves some hacks and workarounds.

Installing iOS apps without Apple Developer Program on iOS 7

I'm trying to install my iOS app on to devices running iOS 7.0. I can install them on my iPhone 4 with iOS 5.1 jailbroken. But currently I'm not able to do so on a friend iPad 4 with iOS 7.0.
For installing them on JB devices I'm using JailCoder .
It works without any problem and I can code and compile my test apps, and put them on JB devices without any effort.
Recently trying to investigate possibilities I found an application named PP25 for Windows, it is a chinese application and it is said to be able to install cracked apps on NON-JB devices.
So i tried to see ig it works somehow, I was able to get my apps converted as ipas from my phone and download them to desktop with it, and i can then upload on other JB devices, thanks to a Cydia application named AppSync, pretty good indeed, but I tried and wasn't able to install them on iOS 7.
That was disappointing, I made additional tests and it appears that the PP Assistant application is able to install cracked apps on iOS 7.0 too, but not my unsigned apps (fails to verify the app rights).
Indeed there is a section in the chinese application where you can download and install commercial apps on iOS 7.0, so there must be a trick they use to re-sign the apps to make it appear as it's a legit app and thus be able to upload to the device even if not jailbroken.
If someone has any idea of what they actually do to make this happen, this would be very useful to know to test apps without JB on every device.
Non-jailbroken devices require valid code-signing to execute binaries. Either wait for a jailbreak to surface for iOS7.X, or find a code-signing service (they are available out there).
Using Xcode 7, you can install your app to your device using a freely available Apple ID.
Free On-Device Development
Now everyone can run and test their own app on a device—for free. You can run and debug your own creations on a Mac, iPhone, iPad, iPod touch, or Apple Watch without any fees, and no programs to join. All you need to do is enter your free Apple ID into Xcode. You can even use the same Apple ID you already use for the App Store or iTunes. Once you’ve perfected your app the Apple Developer Program can help you get it on the App Store.
See Launching Your App on Devices for detailed information about installing and running on devices.
Source

How to run iOS .app package within Simulator?

Dev guys from other company, sent me iOS app package that is build with Xcode, but I don't have its Xcode project, just built app package file. How to run that on simulator or on iphone?
UDPATE: I'v tried Simulator launcher but the solution is not working when using Xcode 4.2.1.
UPDATE2: Also tried to use this solution but with no luck (getting black simulator screen and errors shown in terminal after launch). IMHO these problems might be related to iOS 5
UPDATE3: Also, unsuccessfully, tried to use this solution
normally you should be able to install it with itunes, a detailed step-by step guide can be found here: http://www.wikihow.com/Install-Ad-hoc-iPhone-OS-Apps
If it is built for device, you can install it to your device using iTunes or Xcode Organizer. However, you cannot run it on any device. They should also give you a provisioning profile for letting you install that app on your device.
Found the solution. I'v asked the guys to send me "ipa" package instead of raw .app package. Then added it to my iPhone device.

Install an IPA through USB?

After using the "iPhone Configuration Utility" program to install IPA applications to my iPhone on the go, I wondered how this process worked. Within a few Google searches, I found out about "MobileDevice.framework" and the "MobileDevice Library" connected to it. After reading an article of all the Known Functions in the library, I found one called "AMDeviceInstallApplication". I thought this would work once I saw install, but I'm currently perplexed on how to use it.
TL;DR I have IPA files and I want to make an Xcode program (for Mac) that installs the IPA's application to a connected iOS device when a button is pressed.
Also, don't worry about the application not being signed correctly. It is signed with a provisioning profile installed on devices [the application] will be used with.
If you're still interested in this problem I've written a blog entry on how to install apps on a connected iPad / iPhone without using Xcode or iTunes.
This method allows you to run a Terminal command to install an iPA file.
http://pervasivecode.blogspot.co.uk/2012/06/install-ios-app-ipa-file-without-xcode.html
I suppose you could bundle up the terminal commands in your application and use it that way?
I found a simple way to install iPa file to real iPhone or iPad:
Connect iPhone to Mac via USB and follow the below steps:
Steps to follow:
Open Xcode
Click on Window
Select Devices and Simulators
Drag and drop the IPA files into it
App got installed on the iPad

Testing on pre-IOS4

I have a problem with an app that works perfect on my iPhone 4, and on my 3Gs but both are on iOS 4. BUT, when a colleague installed it on his 3G with 3.1.2 on it... it crashes on startup.
Is there someway I can test to install the app in a 3.1.2 simulator of some kind?
He didn't send me his crash logs yet.
Best regards,
Paul Peelen
I haven't done this for the simulator, but you can find links for the old SDKs here:
http://chris-fletcher.com/2010/08/28/howto-install-iphone-sdk-2-0-3-1-for-xcode-3-2/
You should be able to install the old simulator SDKs and have them show up in the simulator menu.
Dealing with multiple SDKs has proved to be extremely painful in my experience. If you end up installing an old SDK, I'd recommend you install it in a separate "Developer" folder.
In my opinion, the best way to deal with 3.x debugging is to get your hand on an old iPod touch with 3.x installed. You can get one for pretty cheap from a local classified ads site and it really makes 3.x debugging a lot easier.