Building and versioning on Iphone [duplicate] - iphone

This question already has answers here:
Base versus Active versus Deployment target
(4 answers)
Closed 7 years ago.
I created an app long time ago using the last SDK on Mac Leopard, I upgrade to Snow Leopard and so now I use the new SDK and can build app for Iphone 3.1.3, I've got a problem now because I can't build my app on my OS Iphone device 3.1 or 3.1.2
How can I change it and allow my app to aso build in older version beginning to 3.1 ?
Thanks

Clean all Targets worked for me. ;)

Related

How can I build an app with XCode 13.4 for iOS 16 Devices? [duplicate]

This question already has answers here:
Xcode 12.4 “Unsupported OS version” after iPhone iOS update 14.7
(8 answers)
Closed 6 months ago.
I'm working for a company which has an application in the AppStore. We need to test iOS 16 before release. I can not build the app iOS 16 devices with XCode 13.4. If we got build with firebase and run the app in iOS 16 but the app stuck into splash screen and wasn't crash. So I can not found the problem.
Is there any way to log my code without using remote database?
Enable developer mode in your iOS16 beta device.
https://developer.apple.com/documentation/xcode/enabling-developer-mode-on-a-device
Download iOS16 version for Xcode DeviceSupport in your Mac.
https://github.com/filsv/iPhoneOSDeviceSupport
Unzip
Copy and paste unzipped folder
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
Connect your iOS device to Mac
Run Xcode
Check Xcode > Window > Devices and Simulators
You might have better luck finding the problem using the latest Xcode 14 beta, available here:
https://developer.apple.com/download/applications/
It sounds like you might be using a cloud build service to build your app. To debug this issue, you'll want to use Xcode running locally and attach the debugger. Once you figure out what's going wrong, try building on Xcode 13.4.x, then get your cloud build service working.

I am getting an error in Xcode : "Could not find Developer disk image" [duplicate]

This question already has answers here:
Xcode error "Could not find Developer Disk Image"
(25 answers)
Closed 6 years ago.
I am trying to install application in my iPhone but right now i'm facing critical problem during installation. It works perfectly in Xcode simulator but when I am testing it on my iPhone it gives me error message like "Could not find developer disk image". I have Xcode version 7.2 and iOS 9.3.1(13E38) version in iPhone. So what I need to do to install the application in iPhone?
You need to update Xcode to run your apps on software that new. Xcode 7.2 does not include iOS 9.3.1 beta sdk.
Xcode download
Maybe you need to wait for the Xcode's update for iOS9.3.1 that your Xcode could support your iPhone. Commonly I don't update my testing phone to avoid trouble.
Upload Xcode to the latest version as the IOS Updated you need to update Xcode as well, or you can generate an Url for your build and install it on ur phone/pad
The best way is to update the Xcode to it's latest version. But if you don't want to update there is other way to do it is get disk image from any of your other developer friend for iOS 9.3 and install it at the Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport path just you need to change at Xcode-beta.app to your current Xcode app name.
Happy Coding :)

Can I run Xcode on a window machine [duplicate]

This question already has answers here:
How can I develop for iPhone using a Windows development machine?
(42 answers)
Closed 9 years ago.
I'm new to iPhone programming. Can I run Xcode on windows system? Is it possible to build an iPhone app on windows pc?
No. Xcode only runs on Mac OS X. You'll need to buy a Mac - and a recent one too, because the latest version of Xcode only runs on 10.8 now.
You can use platforms like Monotouch and Unity to develop on Windows, but you'll still need a Mac for simulation/testing and deployment.

How to install XCODE in windows 7 platform? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How can I develop for iPhone using a Windows development machine?
Can you tell me how to install Xcode in windows 7 .... Or there is any other way to develop Iphone app on windows 7 ???
X-code is primarily made for OS-X or iPhone development on Mac systems. Versions for Windows are not available. However this might help!
There is no way to get Xcode on Windows; however you can use a different SDK like Corona instead although it will not use Objective-C (I believe it uses Lua). I have however heard that it is horrible to use.
Source: classroomm.com

How to get iOS simulator running iOS 3.0?

I am currently using xcode 4 and the iOS 4.3 SDK and I need to test my app in the simulator using the 3.0 OS but the earliest I can get is the iPad 3.2 OS.
How can I get the simulator to run older versions of the iPhone OS?
AFAIK you can't. You'd have to be using an earlier iOS SDK version (and FYI, you can have multiple SDKs installed on your machine - just move them to a different folder when you're installing a new one).
See this question for more details.