Issues caused by upgrading iOS 9 and XCode 7

Source: Internet
Author: User

Issue One: Upgrade the minimum system configuration requirements for Xcode 7

After upgrading the iOS9, using Xcode 6.1 is no longer available, you must upgrade Xcode 7, the original system is OSX 10.10.1 version. The minimum system requirements for the Xcode 7.0 system are OS X 10.10.4 or above (officially indicated). This way you don't have to wait until the new Mac system arrives or you can use it in advance.

Issue two: library 64-bit issues

The dynamic library suffix for Xcode 7 is changed, and the old project is being replaced again.
Here is an article about iOS usage and configuration can refer to
However, the 64-bit problem comes with it, if you do not join the libc++.dylib will be error compiled but
So in the introduction of the library, you need to join

Libsqlite3.0.dylib
Libz.dylib
Systemconfiguration.framework
Libc++.dylib (if the compilation is wrong, add this library in.) )

Note: Xcode 7 changes the suffix

Issue 3 iOS 9 App Transport Security Policy (ATP problem)

The sudden encounter with this problem is using UIWebView to load HTTP instead of the HTTPS protocol URL.
The solution can be referred to here iOS9 HTTP is not a normal use of the solution

Add the Nsapptransportsecurity type dictionary in Info.plist. Add Nsallowsarbitraryloads type Boolean under Nsapptransportsecurity with the value set to Yes

Note that at that time directly modified info.list is not effective, the practice of reference users is in the target inside info added. This time has come into effect and can deal with this problem. I don't know what the principle is, the parameters here are always fascinating but effective.

Issue 42 The Bitcode is not supported in the binary library

In the Xcode 7 project, build Settings searches for this word, by default it is yes and no support is changed to No.
It's a bit of a struggle to report a related error when compiling today. Xcode settings are always more. Sometimes it's hard to understand. Had to record a little bit.


Some of the issues are addressed in the following references:

Problems with iOS compiling library files
http://www.jianshu.com/p/3f87f024b573

The does not contain bitcode. You must rebuild it with Bitcode enabled (Xcode setting Enable_bitcode)
http://www.swift7media.com/category/ios-development/

Summary of common errors and warnings in development (ix)
Http://www.bubuko.com/infodetail-1061146.html

"Binary library does not support Bitcode"
http://blog.csdn.net/soindy/article/details/48519363

Issues caused by upgrading iOS 9 and XCode 7

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.