I have a problem with XCode organiser, which is not showing any new iPhone app crash log anymore.
I checked in ~/Library/Logs/CrashReporter/MobileDevice, the files have not been copied there either. Nor are they even if i synchronize the mobile with iTunes.
I reproduce the problem with 2 devices (iphone and ipod), however if I connect them on other computers, the logs are visible. So it seems the problem is with this XCode/Mac OS.
Any ideas ? Has anyone come across the same problem ?
Thanks,
New device / crash logs will only appear when the iPhone is sync with the computer via iTunes.
Hopefully this will help others.
Allright, I found it. I had to reinstall iTunes and the "Mobile Device Service", as shown in here, and now crash logs are visible again.
Edit: as the page fell, here are the steps from the archive.org page. Note that those steps worked on Mac Os X 10.6, but may be different on current versions.
If the issue persists, follow these steps to remove and reinstall the Apple Mobile Device Service on Mac OS X. You'll need to authenticate with an administrator account and password to complete these steps.
Disconnect your device from your Mac.
In the Finder, locate iTunes in the Applications folder and drag it to the Trash.
Move the iTunes icon to the Trash.
Choose Go > Go to Folder.
Enter /System/Library/Extensions and click Go.
Locate the file
AppleMobileDevice.text
and drag it to the Trash.
Choose Go > Go to Folder.
Enter
/Library/Receipts/
and click Go.
Locate the file
AppleMobileDeviceSupport.pkg
and drag it to the Trash. If prompted, authenticate with the administrator password.
Note: This file may not be present in Mac OS X v10.6 Snow Leopard; skip to the next step if this is the case.
Restart the computer.
Choose Finder > Empty Trash and restart the computer.
Download and install the current version of iTunes.
Connect your device to the Mac again and open iTunes
Related
I would like to install an iOS7 iPhone app through an Windows iTunes. Following the App Distribution Guide I prepared the .ipa file. But the guide describes the installation on an iTunes running on a Mac only but not for Windows.
What do I need to do to get the app installed on a test device connected to an Windows iTunes?
Thanks
Open the windows explorer in the folder where your .ipa is. Open side by side iTunes. After that, drag & drop the .ipa file from the explorer window to the itunes sidebar where you have the music/apps/etc
Doing this, you are adding the ipa to the iTunes Library. After that, you just need to go to the itunes section of your devide, and select you App (the ipa) to install.
I just tried to get my own app on my iPhone without a developer account. The following are steps I did:
I patched Xcode and my project (Currency.xcodeproj) with JailCoder
I want to build the project with "iOS device" in Xcode. But I got a error message like "no device found". So I ran it in the emulator and I got the currency.app-file in /Users/Dogan/Library/Developer/Xcode/DerivedData/Currency-gjxrulouxbmjslbzslsplyehgfgm/Build/Products/Debug-iphonesimulator
SSH to iPhone in /var/mobile/Applications
Creating a new folder named FADE9826-4878-4458-B5BE-90AD4EB60FDF (I have to take a valid UDID. Have I use to specific tools to create a UDID? I have the UDID from an other example). I also created a directory in this folder with the name "Documents".
chown -R mobile FADE9826-4878-4458-B5BE-90AD4EB60FDF
scp -r Currency.app root#IP-ADRESS-OF-IPHONE:/var/mobile/Applications/FADE9826-4878-4458-B5BE-90AD4EB60FDF/
Restarting Springboard in SSH with "killall SpringBoard"
I got the app, but it doesn't work. Every time on click, it crashes and kicks me to the home screen. Had I missed something?
You missed that simulator builds don't work on iPhones, because they are built for the wrong CPU type. Simulator builds are Intel x86 apps, and the iPhone has an ARM CPU.
There might be other problems (I don't know how jailcoder works) but there's no way you're getting the simulator build running on the phone.
After downloading Jailcoder and going through the guided patch of Xcode and then patching your project, if your device is plugged into your computer, select the target type (where you can select simulator, iOS Device, etc.) and there should be a listing of your device's name.
I have created a Provisioning Profile and an .ipa for my application. I had to send this to my client who uses Windows machines. I am aware of how to add the .ipa files in MAC machines but when it comes to Windows machine, I am not able to find the App section in the left side bar of iTunes Window. SO i am not able to drag and drop the provisioning profile and the .ipa file into itunes from windows machine. Can someone please help me on how to get out of this?
Have your client download a free app off of the App Store, maybe not having any applications in the target library makes iTunes think it shouldn't show that item in the menu.
I'm also thinking that you can turn on/off individual menu items inside the iTunes preferences, so maybe check there?
I have created build file with Development Provisioning , I selected 5 device for that provisioning profile But The Ipa is not installing on client't devices and successfully installed on remaining 4 devices .
Did following things :-
I checked device UDID , it is proper.
Set device restrictions off for installing apps.
Set minimum deployment target to 4.3 and client is having 4.3 ios version iphone
Device is showing "Could not install IPA " and when this alert appears The Ipa file got deselected from iTunes .
Can any one tell be what could be the possible reasons behind this.
Go To iphone Settings-->General--->Profiles-->Click Remove...!
Connect the iphone to mac goto open xcode under menu windows-->organizer-->Tap to Device, find the iphone name and click it's shows use for development button to click and enter itunes connect username and password and Provisioning installing sucessfully..!
Retry to install ipa file...!
Have you send the provisioning profile too, to your customer?
i am sending everytime the provisioning profile with all devices, and also creating the ipa file with that profile.
the customer have to drag and drop the profile and *.ipa file to itunes(doesnt matter if windows or mac).
At first, i have troubles with that, too.
And at the momemt i am using
http://testflightapp.com/ (on the site, everything is explained clearly)
you have to register yourself as developer, upload your binary, sent a invite mail to your customer, he have to register, too. after that his device will be added to your account and you can share updates over the air. he can make updates with testflightapp, if you upload a new binary(he will be notified by mail).
i am not sure if this helps you, but for the future you can still save time and have not check 10 times the profiles.
I help manage a Mac-based graphics labs and I teach web design for my university's art department. I installed Xcode and the iPhone SDK/simulator so that the students can have experience testing websites on mobile devices (such as the iPhone or iPad). The simulator works just fine when logged in as the local admin user for the computer, however the iOS simulator fails to launch when logged in with one of the student accounts (which are hosted from Snow Leopard Server) or any other networked account.
The simulator begins to launch (and the application does open) but it gives me this message:
The simulated application quit.
Click Relaunch to try again.
My options are "Quit", "Switch SDK..." or "Relaunch".
Is it possible for the simulator to launch using a network account? If so, does anybody know how?
The client computers are running Mac OS 10.6.8 and the server is also on 10.6.8. I'm using Xcode 4.2 with the iOS 5 SDK (for Snow Leopard).
Thanks in advance.
I had the exact same problem, for some reason the iPhone Simulator doesn't like it when the ~/Library/Application Support/iPhone Simulator directory isn't on the local volume.
Here's the fix/workaround:
rm -Rf "~/Library/Application Support/iPhone Simulator"
mkdir "/Developer/Local/$USER/.iPhoneSimulator"
ln -s "/Developer/Local/$USER/.iPhoneSimulator" "~/Library/Application Support/iPhone Simulator"
Using the /Developer/Local directory is totally arbitrary, as long as you choose a place on the same drive as the iPhone simulator it will work. Of course, /Developer/Local/$USER should also have the correct permissions so $USER can actually use it.
Cheers
It seems that with every new OS X and Xcode release, something else breaks with regard to running Xcode on network home directories.
Our method of getting around this was to have students set their Derived Data location to /tmp/username in Xcode settings. This will create that folder when they try to build a project. Then we can place a symbolic link, ~/Library/Developer/CoreSimulator -> /tmp/username and this way the iOS Simulator will work for them.
Also, having Derived Data in /tmp/username really improves build performance and reliability.
I don't think many people use OS X and Xcode in this configuration; it's very common in university computer labs where you need to have students able to log into any workstation and have their own environment. I wouldn't mind it so much if they didn't change something new every year which breaks Xcode causing us to have to fix it all over again.