Using xcode 5 with my upgraded iOS 6 to iOS 7 app, I have run into issues with upgrading third party frameworks and adding third party frameworks which 'break' other seemingly unrelated frameworks. For example, I tried to upgrade the Crittercism framework which was already included in my project and it broke my Stackmob framework with the result that the project build failing because it couldn't find the Stackmob framework even though it was in the same location before the Crittercism upgrade. I had to remove the Stackmob framework first, then upgrade Crittercism, then reinstall the Stackmob framework, then the build succeeded. Another example, is when I tried to install the Parse framework. That broke my PushIOManager framework resulting in the project build failing since it was unable to find the PushIOManager framework even though it was in the same location as before I did the Parse installation. This is after doing clean and builds on the project. This does not seem to be happening with the built-in frameworks when I add them to the project. What's weird, is that I tried doing all this on an iOS 6 copy of the app using xcode 4.6 and everything worked fine, no issues whatsoever. I was just wondering if anyone else is running into similarly strange issues with their upgraded iOS 7 app and xcode 5. Or if this is just some weird stuff that's unique to my app.
Related
I have an old project integrated salesforce Mobile SDK (version 4.3.1), which is working fine on Xcode 8.1.
Now I want to update to make it working on Xcode 13 (or Xcode 10.1).
When I'm updating pods it is throwing more than 500 errors. Any help or link which can help me.
NOTE: Can not make this project from scratch, since it has a lot of functionalities.
I have several projects developed in Xcode 10, but now Apple is saying (April 2020) that will not accept apps developed in Xcode 10, only Xcode 11. Is there any compatibility problem ? All my projects will compile properly in Xcode 11 ?
Is there any compatibility problem ? All my projects will compile properly in Xcode 11 ?
Try it and see? You don't really have a choice in the matter if Apple is going to stop accepting your Xcode 10 apps, so you might as well get started.
You can have multiple versions of Xcode installed at the same time. The best plan is to download Xcode from the developer site instead of the App Store, and rename each one with its version (e.g. Xcode-10.1, Xcode 11.4, etc.) so that they can all exist in your /Applications folder at the same time.
Xcode 11 will happily open your Xcode 10 projects, and everything should be fine. You may need to update some project settings to whatever Xcode 11 recommends, and your code will probably benefit from updates for the latest macOS or iOS versions.
What Apple will require is that apps be built with the latest versions of their platform's SDKs in order to be submitted and approved to be distributed through the App Store. They have extended the deadline for this to June 30, 2020 at the time I'm writing this (as you can see here).
This means that you need to make sure your project can be built using the latest SDK major versions. Make sure to open and build your projects using Xcode 11, which has the latests SDKs embedded in it. If your project fails to build, it can usually be because of 2 things:
The new SDKs API have changed and code that you wrote a while back might now be invalid. Go through the issues found by Xcode and update your code to make it work with the latest API.
The Swift language itself might have changed and code that you wrote a while back might now be invalid. These type of issues can be avoided by setting a specific Swift version to be used on your project in its build settings. Migrating your codebase to the latest Swift version (the one that's bundled with Xcode) might not be mandatory, but I'd recommend you do it if it involves just minor changes.
if after doing this, your project can be built, you should be good to go.
After I installing xcode6 I got some errors with parse.The project was working just fine in beta versions of xcode 6. I think i might be parse.com that is not compatible with xcode6. I think I have added all the frameworks properly
I experienced the same problem,
first, download the latest SDK version from Parse.com
second, I noticed that when I run it NOT on the iPhone 6 simulator it works fine.
You're targeting the iOS Simulator, which the Parse framework does not seem to support. So:
Clean project.
Change the destination from iOS Simulator to iOS Device.
Build.
That's all you need to do.
when I tried to include RestKit to my project in iOS 7 Platform, I got error <RestKit/RestKit.h> file not found..
I followed this tutorial http://www.raywenderlich.com/13097/intro-to-restkit-tutorial
and I did exactly the same thing, but I used iOS 7 as my base platform..
I tried the example project inside restKit folder, but used iOS 7,
then I got same error...
Is there any compatibility issue in iOS 7?
if yes, can anyone recommend me alternate framework?
after strugling...
i solved it by compiling Restkit in its own project,,, then continue including to my own project
and its work..
The tutorial you followed is really old. You should look at this for a guide on how to install RestKit. Ensure you're using the most recent version (don't start using 0.10 now...). The base RestKit Github page contains a number of examples and the code contains lots of tests that you can look at.
RestKit should basically always be included in your project as a reference to the RestKit project. The current version doesn't have any compatibility issues.
Im trying to get my xCode to contain all iPhone sdk's from 4 back to 2. But when I download the DMG files, it seems to only allow me to have an xCode with SDK versions 2 - 3.1 OR 3.2 - 4, not all together.
How can I install the SDK's into one xCode so I can build for all different OS versions?
Thanks
EDIT::
Ok so I know I can set the base SDK in xcode, but the options I have are only 3.2 or 4.0, I cant seem to install the 3.1 or earlier SDK's how can this be done?
Final Edit::
Ok got it solved, basically you only need to have an older version of xcode installed to get earlier simulators running, otherwise the articles given to me in my answers as well as others were very helpful:
http://www.clarkcox.com/blog/2009/06/23/sdks-and-deployment-targets/
Install xCode 3.2.3 w/ iPhone SDK 4, get "Base SDK missing", can't see other SDKs
How To Make iPhone App compatible with multiple SDK (firmware) versions
http://cocoawithlove.com/2010/07/tips-tricks-for-conditional-ios3-ios32.html (possibly the best one)
Is there any particular reason you need to do this? Are you trying to develop applications that will run on iOS 4.x and older versions (3.x)? You can still develop applications which will run on iOS 3.1.x with the iOS 4.x sdk.
Take a look at the following article: http://www.clarkcox.com/blog/2009/06/23/sdks-and-deployment-targets/
I tried the same thing some time ago, and it seems some minor SDK versions are automatically removed during the install process...
You may tried to copy them before installing the other XCode versions, and re-install them just after.
They are located in /Library/Platforms/iPhoneOS.platform/Developer/SDKs/ and /Library/Platforms/iPhoneSimulator.platform/Developer/SDKs/.
Note that you can also choose to install each XCode version in a separate directory.
You will lose a lot of hard disk space, and you'll have multiple versions of XCode, each one with different SDK versions.