Install Xcode 4.2 for Snow Leopard fails - ios5

I've download Xcode 4.2 from official site. And when installation starts - it shows an error:
Not very informative.. What is the problem? where to see logs or something?
PS.I have: Mac OS 10.6.8, Xcode 4.0, ~10 GB free space. And I want just to test my app on ios5.
UPDATED:
Installer[51580]: Failed install preflight: Error Domain=PKInstallErrorDomain Code=102 UserInfo=0x119de62e0 "The package “OpenGLApps.pkg” is untrusted." Underlying Error=(Error Domain=NSOSStatusErrorDomain Code=-2147409654 UserInfo=0x119df06b0 "The operation couldn’t be completed. CSSMERR_TP_CERT_EXPIRED")

You can try changing your system date to a date before 26 March 2012. For details, check https://apple.stackexchange.com/questions/45841/xcode-4-2-snow-leopard-doesnt-install

Related

Xcode: "Message from debugger: unable to attach"

Every time I run my project (macOS Cocoa App) I get this message in the Xcode console:
Message from debugger: unable to attach
I have already tried creating a new project (error still occurs), changing some „Signing settings“ (as mentioned in "Message from debugger: unable to attach" when running Tests on OSX app) and reinstalling Xcode.
Xcode Version: Version 10.1 (10B61)
OS: 10.13.6 (High Sierra)
Model identifier: iMac12,2

Xcode error: building for iOS Simulator, but linking in object file built for iOS

Never had a lot of problems until the time to buy Macbook Air M1. Just yesterday my app was build without any error in Xcode 12.4. I did not make any special changes and today build failed:
/Users/userName/Projects/MyApp/ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a(cryptlib.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/userName/Projects/MyApp/ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a' for architecture arm64clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please can you help me, how to solve it?
Looks like a missing Arm64 simulator slice in the OpenSSL-Universal CocoaPods distribution.
Make sure that you're using the latest version with pod update and contact the OpenSSL-Universal if there's still an issue.

Encountered an error communicating with IBAgent-iOS. Failed to boot device iPhone Xs

I am getting an Error on the top of my interface builder in Xcode 10.3 and while clicking on report bug and checking the log.txt file I found out that fails to open simulator. However I am not starting any simulator.
Here is the Error found in Log.txt
Encountered an error communicating with IBAgent-iOS. (Failure reason: IBAgent-iOS failed to launch): Failed to boot device iPhone Xs (0B8270CC-2BFB-4BB6-90A5-6BA61468A1AD, iOS 12.4, Shutdown) for context <IBCocoaTouchToolLaunchContext: 0x7fe80e754ad0> toolName = IBAgent-iOS, description = <IBCocoaTouchPlatformToolDescription: 0x7fe80e2a0290> System content for IBCocoaTouchFramework-ElevenAndLater <IBSimulatorDeviceTypeDescription: 0x7fe80fab2f90> deviceType=com.apple.CoreSimulator.SimDeviceType.iPhone-XS (Failure reason: Failed to boot iPhone Xs (0B8270CC-2BFB-4BB6-90A5-6BA61468A1AD, iOS 12.4, Shutdown)): Unable to boot the Simulator. (Failure reason: launchd failed to respond.)
Error Domain=com.apple.InterfaceBuilder Code=-1 "Encountered an error communicating with IBAgent-iOS." UserInfo={NSLocalizedFailureReason=IBAgent-iOS failed to launch, NSUnderlyingError=0x7fe80ae44440 {Error Domain=NSPOSIXErrorDomain Code=60 "Operation timed out" UserInfo={NSLocalizedFailureReason=Failed to boot iPhone Xs (0B8270CC-2BFB-4BB6-90A5-6BA61468A1AD, iOS 12.4, Shutdown), NSLocalizedDescription=Failed to boot device iPhone Xs (0B8270CC-2BFB-4BB6-90A5-6BA61468A1AD, iOS 12.4, Shutdown) for context <IBCocoaTouchToolLaunchContext: 0x7fe80e754ad0> toolName = IBAgent-iOS, description = <IBCocoaTouchPlatformToolDescription: 0x7fe80e2a0290> System content for IBCocoaTouchFramework-ElevenAndLater <IBSimulatorDeviceTypeDescription: 0x7fe80fab2f90> deviceType=com.apple.CoreSimulator.SimDeviceType.iPhone-XS, NSUnderlyingError=0x7fe80bd300f0 {Error Domain=NSPOSIXErrorDomain Code=60 "Operation timed out" UserInfo={NSLocalizedFailureReason=launchd failed to respond., NSLocalizedDescription=Unable to boot the Simulator.}}}}, NSLocalizedRecoverySuggestion=Please check Console.app for crash reports for "IBAgent-iOS" for further information., NSLocalizedDescription=Encountered an error communicating with IBAgent-iOS.}
If anyone still looking for an answer to this after Xcode 13 update, I have tried everything they mentioned on the internet and nothing worked except one. The only thing that worked is the complete re-installation of Xcode. Completely uninstall/delete Xcode first and restart the mac and reinstall Xcode then all should be good.
Delete Xcode from Applications Folder and Empty Trash.
Go to ~/Library/Developer and Delete CoreSimulator, Xcode, XCTestDevices Folder. Empty trash
Goto ~/Library/Caches and delete everything starting with com.apple.dt.Xcode, Empty trash
Then Restart your Mac and reinstall Xcode. I used my downloaded Xcode app, AppStore installation will also work, I guess.
Now it all working.
Before that, I have changed the storyboard file using Open as Source Code mode (coz I couldn't open it in Interface Builder - Xcode just hang)
I changed the storyboard design device to iPhone 13 instead of the older device version it had.
<device id="retina6_7" orientation="portrait" appearance="light"/>
I change the existing line with this line. It kinda solve another issue of Xcode hanging, when trying to open with Interface Builder, but it didn't solve Encountered an error communicating with IBAgent-iOS issue when trying to install the app. That issue only got solved when I completely reinstalled the Xcode.
I have managed to fix it just by changing preview device on interface builder
In my case it helped:
clean project
remove derived data
close Xcode
restart Mac
I used DevCleaner XC helper app:
https://apps.apple.com/us/app/devcleaner-for-xcode/id1388020431?mt=12
removed everything, and after that restarted mac. No XC reinstall needed.
This problem caused because, I deleted all directories under "Library/Developer/Xcode" for a purpose. But, I realised I also deleted wrong directories in same time. Then I put back directories from the Bin. It is solved for me.
If you have or have had multiple versions of Xcode open, you may need to reboot or completely re-install the CoreSimulatorService, an evil, globally installed background service that somehow remains online and available to many versions of Xcode despite it being compatible with only one version.
See more here: https://stackoverflow.com/a/72946533/731285
Other symptoms of this issue: Simulators not showing up in the Window > Devices and Simulators listing and simctl throwing errors and being unable to find base iOS SDKs similar to the following:
$ xcrun simctl list
...
-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-15-5 --
iPhone 8 (55A90310-8202-4A0D-968B-00F440D42210) (Shutdown) (unavailable, runtime profile not found)
See also:
Command CompileAssetCatalog failed with a nonzero exit code
Xcode device Unavailable, runtime profile not found
In my case, I just had to set team in
Project > Targets > Signing & Capabilities > Team > Personal Team

Unable to run build on iPhone after updating to iOS11 with Xcode 9 GMSeed, Error Message: "dyld_shared_cache_extract_dylibs failed"

So after spending hours sweeping the web for answers, the recommended solution to this problem was to go to XCode.app/contents/developer/platforms/iPhoneOS.platform/DeviceSupport and then delete the directory that matches your device's iOS. Which I did and I got the following results:
BEFORE DELETING THE DIRECTORY "iOS11(15A372)"
Error Message: dyld_shared_cache_extract_dylibs failed
AFTER DELETING THE DIRECTORY iOS "11(15A372)"
Error Message: This iPhone 6s is running iOS 11.0 (15A372), which may not be
supported by this version of Xcode.
Help!
please follow the following step.
step 1- Download file that you need below:
iOS 11 beta
step 2- Copy this iOS 10.2 image file to: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
Restart Xcode.
Now it Working fine.
Hope it works.

ios application not published using adobe flash professional cc on mac

i am trying to publish an ios application using adobe flash cc on mac and flash professional cs6 on windows.
when i publish my application using cs6 ( air sdk 3.7, air sdk 3.6 ) on windows ipa is created and installed only on jail-break phone and when i try to install jailed phone its simply shows application failed to install.
when i start to publish with flash professional CC on mac (Size of Ram is 768MB) ipa is not created but the following errors are shown:
"Restore windows
The application “java” unexpectedly quit while trying to restore its windows.
Do you want to try to restore its windows again?"
and
"ADT quit unexpectedly while using the libjvm.dylib plug-in.
Click Reopen to open the application again.
Click Report to see more detailed information and send a report to Apple."
and at last a error report
if anyone face this issue or have sorted out this please let me know.
thanks
Virender
Error report:
Process: java [1175]
Path: /usr/bin/java
Identifier: net.java.openjdk.cmd
Version: 1.0 (1.0)
Code Type: X86-64 (Native)
Parent Process: sh [1174]
PlugIn Path: /Applications/Adobe Flash CC/Adobe Flash CC.app/Contents/jre/jre1.7.0_10.jre/Contents/Home/lib/server/libjvm.d ylib
PlugIn Identifier: libjvm.dylib
PlugIn Version: ??? (???)
Date/Time: 2013-07-11 22:10:34.716 -0700
OS Version: Mac OS X 10.7.4 (11E53)
Report Version: 9
Interval Since Last Report: 37146 sec
Crashes Since Last Report: 41
Per-App Interval Since Last Report: 6085 sec
Per-App Crashes Since Last Report: 41
Anonymous UUID: CDBA110A-A463-40BB-9E1F-2321B9E94AFE
Crashed Thread: 18 Java: Java2D Queue Flusher
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000003b0
VM Regions Near 0x3b0:
For a quick solution you can try using IfunBox with install IPA on a non jailbreack phone. By the way i had the same probrem, I was unable to instal my IPA on a non Jailbreack phone but wen i upload to Apple every thing goes fine! One of the reasons of the intalation fail could be that u didnt mach the license id and software name wen um create the IPA.