iphone configuration utility 3.3 can't install configurations - iphone

I can't install configuration profiles with the iPhone Configuration Utility on iPads etc for enterprise deployment. I can still however install apps. Problem is only with the configuration profiles. The Install button appears but it just doesn't do the install. This was fine before Lion. And I am using iPhone Configuration Utility 3.4. I have enabled root user as discussed in previous post, but when I log in again, I can't install profiles.

Apple Enterprise Support just figured this out for me.
Clean install of app.
Go to user directory/Library/preferences/iPhoneConfigurationUtility
go to preferences associated with iPhoneConfigurationUtility com.apple.iPhoneConfigurationUtility etc.
You will see plists.
Delete them.
Restart or reinstall.
Fixed.

Related

Jailbreak development using xcode

I have been looking around for learning how xcode can be used for jailbreak development.
I have Lion and jailbroken iPhone3G and xcode4.6 which doesnt support iPhone3G.
I have installed ldid but have no idea how to use it.
I have to make launch daemons, too, and attach them with my application. I have followed this tutorial for making a daemon but i got stuck in the setup for creating an open tool chain template in xcode. I followed every step but my xcode is not showing any template for open tool chain. Is it really required to have open tool chain template?
You're right. Xcode 4.6 doesn't support the iPhone 3G. Can you install an older version of Xcode? For example, Xcode 4.4 still supports the 3G.
Login to the Apple Developer Portal and download old versions here
You can choose to install the old version of Xcode in a different folder, so that it doesn't overwrite the new version (for example, install to /Developer-old/ or something).
Once you install the old Xcode version, you can navigate to the installation directory and look for the directory named:
iPhoneOS5.0.sdk
(or probably iPhoneOS5.1.sdk would work, too). Then, copy that entire folder into the new Xcode 4.6 installation directory. For example:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
Afterwards, you should see this:
iPhoneOS5.0.sdk
iPhoneOS6.1.sdk
With the 5.0 SDK installed, you can now build apps for the iPhone 3G, using Xcode 4.6. You can also now uninstall Xcode 4.4 if you want. See more about this in this other question. The key is that you will be building your app for armv6 (only). Armv6 is the iPhone 3G's processor.
The second step is to turn off code-signing within Xcode. In your project settings, you set the provisioning profile to Don't Code Sign. You must modify an Xcode configuration file to allow you to do this.
Now you build the app in Xcode. When you're done, navigate to the directory on your Mac where the app has been built (where the MyAppName.app/ folder is). Then, you use ldid to fake code sign the app executable:
ldid -S MyAppName.app/MyAppName
Now, your app has a fake code signature that will allow it to run on a jailbroken phone.
Then, you use ssh, or scp, or something else to transfer it to your phone, where it should be installed under /Applications/.
You already have the best link on building iOS Launch Daemons. I'd stick with that tutorial. No, I don't have any open toolchain template in Xcode, either. I just use Chris' tutorial to see how to build a non-graphical daemon main program (not a UIApplication), copy it to my MyAppName.app folder, and create a com.mycompany.mydaemon.plist file that defines the Launch Daemon.
Once the plist is installed in /System/Library/LaunchDaemons/ on the phone, you can start it, without having to reboot the phone, with:
launchctl load -w /System/Library/LaunchDaemons/com.mycompany.mydaemon.plist
at the command line (on the phone). Or, just reboot the phone, and the daemon will start automatically.
Although I learned to do this before it was available, you can now look at iOSOpenDev if you'd like a more polished way of doing some of this stuff.
Yes. Xcode can be used for developing jailbreak-type projects. Use iOSOpenDev to set up Xcode and iOS SDK to allow jailbreak-type development.
iOSOpenDev comes with a set of templates, signs (with ldid) targets and creates Debian packages (packages are submitted to repos like ModMyI and BigBoss) during its build phase, in addition to installing packages directly to an iDevice with Cmd-Shift-I (build for profiling shortcut) for immediate testing, among other useful features for using Xcode to develop jailbreak-type projects.

Why does Trigger.IO app need to be uninstalled when upgrading on iOS?

I'm testing a Trigger.IO app built with Forge v1.4 on an iPod running iOS 6. I've been installing the .ipa through a distribution provision profile.
Occasionally, after installing an updated version, the app would launch but not run correctly. I traced this behaviour to the window.forge being absent, presumably due to a bad initialization. I would then make sure to kill the app process before installing updates and my recollection is that this seemed to make the problem go away.
Now, I've added the Facebook and Splash modules and my app now consistently won't go past the splash screen after I install an upgraded version unless I forcibly uninstall the old version first. Presumably, it dies before creating the webview. Any idea why I would need to uninstall my app first before upgrading? Is this a known behaviour?
I want to make sure that my users don't experience this when upgrading.
My app runs happily without Forge, and doesn't have any particular dependencies on localStorage data. I don't have a Mac and have been installing via iTunes in Windows, so I don't think I can access logging information.
You should have a look at this post:
How application get update from apple store?
The quick answer is when you update an app, you install the new bundle but you keep the user data stored previously such as a local DB. If you changed the local DB in the new app (or anything else) your app can crash when updated but is fine when downloaded from scratch.

How do you install configuration profiles with iPhone Configuration Utility after Lion upgrade

Since updating to Lion I can't install configuration profiles with the iPhone Configuration Utility on iPads etc for enterprise deployment. I can still however install apps. Problem is only with the configuration profiles. The Install button appears but it just doesn't do the install. This was fine before Lion. And I am using iPhone Configuration Utility 3.4.
Apple Enterprise Support just figured this out for me.
Clean install of app.
Go to user directory/Library/preferences/iPhoneConfigurationUtility
go to preferences associated with iPhoneConfigurationUtility com.apple.iPhoneConfigurationUtility etc.
You will see plists.
Delete them.
Restart or reinstall.
Fixed.
I faced with similar problem when had tried to instal profile to my iPhone. But your question helped me find a solution, because you mention it has worked before Lion upgrade and I found that is access rights issue in Lion.
The workaround is:
Enable root account following by this instruction: http://support.apple.com/kb/ht1528
Login as root
Start iPhone Configuration Utility and enjoy! It would works fine.
And I suggest turn off root account when you're done.

iPhone Configuration Utility. Can't remove/install any Configuration profile

I have following problem, I installed iPhone Configuration Utility tool on my mac, then I tested some Configuration profiles, I installed/removed them - everything was perfect, then I unfortunately delete some certificates from my keychain (I believe they were related to this tool), after this I can't neither remove nor install any Configuration profile.
I tried to reinstall Utility tool but this did not help.
Please share ideas how to make it works again
You need the Apple WWDR Intermediate Certificate installed on that machine.

Setting up new iPhone Dev Environment for existing app

This might be a weird question, but I'll try anyway.
I set up my dev environment with certificates etc on an old MBP, built an app and released it on the App Store. I've since upgraded to a new MacBook Pro, but didn't move over any certificates, so can no longer build my application.
Have I completely screwed things up? How can I install the right certificates on my new MBP? Note: I do not own the old MBP any longer so cannot transfer anything from there...
Thanks for any advice!
you can allways download developer-certificates / provisioniong profiles from the Provisioning Portal
I hope that helps.
sam
Assuming you are running at least Xcode 3.2.2 (it may be present in earlier versions, too), on your old machine go to the Window menu and select Organizer. Then go to the Developer Profile section under iPhone Development. Select Export Developer Profile.
Copy it over to your new mac, go through the same steps to import and you should be good to go.