Can't debug on iOS 4.x devices - iphone

Whenever I try to debug on devices with iOS 4.x (iPhone 4 and 3GS) I get the following error:
error: failed to launch '/XXX/Library/Developer/Xcode/DerivedData/XXX-fytptbaixvmoweacfsniqxtvjkst/Build/Products/Debug-iphoneos/XXX.app/XXX'
-- Bad CPU type in executable
On devices with iOS 5.x it works.
I am using xCode 4.3.3 and my configurations are:
Architectures: Standard (armv7) (also tried armv6,armv7 to no avail)
Base SDK: Latest iOS (iOS 5.1)
Valid Architectures: armv6, armv7
Deployment Target: iOS 4.0
What do you think?

In your Xcode preferences, go to downloads tab and install "iOS 4.0 - 4.1 Device Debugging Support".
This package includes information and symbols that Xcode needs for
debugging your app on iOS devices running versions of iOS prior to iOS
4.2. If you intend to debug your app on a device running one of these versions of iOS you should install this package.

Related

Failed to build Flutter app in iOS emulator for architecture arm64

I am encounter this error when first time I build my flutter app in iOS simulator (it works normally on android)
Device: MacbookAir M1
Flutter: 3.3.10
Xcode: 14.2
In
/Users/paramaartha/Documents/Flutter/komplekku_user/ios/Pods/Sodium/Sodium/libsodium/libsodium-io
s.a(libsodium_la-aead_chacha20poly1305.o), building for iOS Simulator, but linking in object file
built for iOS, file
'/Users/paramaartha/Documents/Flutter/komplekku_user/ios/Pods/Sodium/Sodium/libsodium/libsodium-i
os.a' for architecture arm64
Anyone know how to fix it?
I tried to add exclude architecture and run Xcode in rosseta but nothing work

ios 8.1.2 not running on Xcode 6.0

Is iOS 8.1.2 supported by Xcode 6.0 and OS X 10.9.4?
When trying to run, Xcode shows a message that there are "Ineligible devices (OS Version)"
You need to update your OS to 10.10.1 and install Xcode 6.1.

Xcode restKit error after updating into Xcode 4.5

I have an application running successfully on Xcode 4.2 iOS 5.1, when i updated to Xcode 4.5 to make the application compatible with iOS 6, when i run the application it gives an error
Apple Mach-O linker error: no such file or directory: '/Users/User/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/RestKit/RestKit'
Note that i have moved the whole project from a Mac that was running xcode 4.2 into another Mac running Xcode 4.5
Thanks in advance
Just goto BuildSettings of the Project and remove armv7s from Valid architecture

iphone simulator not starting

Freshly installed xcode 4.2 on snow leopard and my system profile reads:
Version: 4.2 (4C199)
Location: /Developer
Applications:
Xcode: 4.2 (828)
Instruments: 4.2 (4233)
Dashcode: 3.0.2 (336)
SDKs:
Mac OS X: 10.6: (10K549)
iPhone OS: 5.0: (9A334)
iPhone Simulator: 5.0: (9A334)
My apps work fine on the device but not on the simulator. Message on the xcode reads "Running on iPhone 5.0 simulator" but simulator's status is "Application not responding". I even tried reinstalling xcode/sdk (--mode=all) but no luck.
I'm sure the problem is not with the app because the simulator doesnt respond even when I start it directly without xcode.

will my app load on iOS 4.0 on their iphone? iOS 3.2?

using XCode 3.2.6, Base SDK iOS 4.3
I set iOS Deployment Target to iOS 3.0 in Target Info Build Settings and also in Project Info Build Settings
I get the following messages:
iOS 3.0 - Code will not load on systems earlier than 3.0. [3.0]
iOS 3.1 - Code will not load on systems earlier than 3.1. [3.1]
iOS 3.1.2 - Code will not load on systems earlier than 3.1.2. [3.1.2]
iOS 3.1.3 - Code will not load on systems earlier than 3.1.3. [3.1.3]
iOS 3.2 - Code will not load on systems earlier than 3.2. [3.2]
iOS 3.2.1 - Code will not load on systems earlier than 3.2.1. [3.2.1]
iOS 3.2.2 - Code will not load on systems earlier than 3.2.2. [3.2.2]
iOS 4.0 - Code will not load on systems earlier than 4.0. [4.0]
iOS 4.0.1 - Code will not load on systems earlier than 4.0.1. [4.0.1]
iOS 4.0.2 - Code will not load on systems earlier than 4.0.2. [4.0.2]
iOS 4.1 - Code will not load on systems earlier than 4.1. [4.1]
iOS 4.2 - Code will not load on systems earlier than 4.2. [4.2]
iOS 4.3 - Code will not load on systems earlier than 4.3. [4.3]
what do these messages mean?
if someone has iOS 4.0, can they download my iphone app?
in your project settings change the deployment target