ios9

Unexpected CFBundleExecutable key

为君一笑 提交于 2019-11-26 17:11:58
After spending some time googling, something tells me that the issue is new. We had a fully functional project supporting iOS7-8. Of course it was multiple times successfully submitted to AppStore. We use pods, lots of tracking and monitoring, like GA and Instabug. Now we decided to submit a version of the app built on Xcode 7 on iOS 9 to TestFlight. We disabled bitcode, since many pods, like Flurry and other prebuilt libraries does not include it. The build was successful, after the submission to iTunesConnect we get this: We had same for GoogleAppIndexing library (in pods too), but we

iOS9 Untrusted Enterprise Developer with no option to trust

亡梦爱人 提交于 2019-11-26 16:53:00
This is not a duplicate of Untrusted App Developer . Since iOS9 there is no option to trust an enterprise build. Has anyone found a workaround? Alexander Yatsenko In iOS 9.1 and lower, go to Settings - General - Profiles - tap on your Profile - tap on Trust button. In iOS 9.2+ & iOS 11+ go to: Settings - General - Profiles & Device Management - tap on your Profile - tap on Trust button. In iOS 10+, go to: Settings - General - Device Management - tap on your Profile - tap on Trust button. ElonChan Do it like this: Go to Settings -> General -> Profiles - tap on your Profile - tap on the Trust

iOS 9 UITableView separators insets (significant left margin)

瘦欲@ 提交于 2019-11-26 15:47:21
问题 I have a problem with separators between UITableViewCell s in UITableView on iOS 9 . They have the significant left margin. I already have code for removing spacing introduced by iOS 8 but it doesn't work with iOS 9 . It looks like they added something else. I suppose it might be connected with layoutMarginsGuide but I haven't figured it out yet. Does anyone had a similar problem and found out the solution? 回答1: Okay, I have found out the solution. The only thing required for that is to set

iOS9: Universal Links does not work

不羁的心 提交于 2019-11-26 15:37:10
So I followed the tutorial https://blog.branch.io/how-to-setup-universal-links-to-deep-link-on-apple-ios-9 and exactly use the same values as the one provided. The Apple Association file is also ready in the link directory: WEB_PAGE:PORT_NUMBER/apple-app-site-association Everything seems to be setup on this side. I've added the entitlements, updated the provisioning profile, and everything's setup. When I run the app on my device, and open the link http://WEB_PAGE:PORT_NUMBER , this always opens Safari. I even have breakpoints in the following methods: - (BOOL)application:(UIApplication *

How can I figure out which URL is being blocked by App Transport Security?

寵の児 提交于 2019-11-26 15:27:32
问题 I'm upgrading an iOS app to iOS 9, and I have some URLs that are not secure, and I need a few exceptions to App Transport Security. I've added the two that I know about, but there are some warnings happening now stating: App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file. I need to know what URLs are being blocked so I can add them to the Info.plist, they're probably images or

Global variable and optional binding in Swift

ぐ巨炮叔叔 提交于 2019-11-26 14:58:49
问题 I have some quite simple doubt regarding optional binding,global variable & wrapping and unwrapping . Since I am new to SWIFT, its very important to understand the tits & bits of their concepts. 1) In Swift if I declare a global variable, I have 2 options either to make it optional or non optional, so let I am having 2-4 or more optional variables . So is it advisable to optional bind all those variables in viewDidLoad() method// so that I could use them without any problem of unwrapping and

XCode 7.3.1 hangs on “copying swift standard libraries”

谁说胖子不能爱 提交于 2019-11-26 14:49:44
问题 Since I have updated to XCode 7.3.1, I'm not able to run my project because it hangs on the "Copying Swift standard libraries" step (both from IDE and command line). It also crashes if I try to open the project configuration file or if I create a new Swift project. Does anyone have idea why this is happening? I'm running XCode on Mac mini (late 2012) with OSX 10.11.6 SOLVED Finally solved reinstalling XCode and SDK. Thank you all for the answers. 回答1: Open Keychain Access You may find a LOT

allowsBackgroundLocationUpdates in CLLocationManager in iOS9

本秂侑毒 提交于 2019-11-26 14:23:38
I'm using CoreLocation framework in my app in Xcode7(pre-released),and I noticed that there is a newly added property called allowsBackgroundLocationUpdates in CLLocationManager class. What's the relationship between this property and the location updates in the Background Modes of the Capabilities tab. What's the default value of it and does it affect apps running in iOS9? Felix This new property is explained in the WWDC session "What's New in Core Location" . The default value is NO if you link against iOS 9. If your app uses location in the background (without showing the blue status bar)

“Application windows are expected to have a root view controller at the end of application launch” error when running a project with Xcode 7, iOS 9

心已入冬 提交于 2019-11-26 12:56:57
After running function - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions there is a crash: Assertion failure in -[UIApplication _runWithMainScene:transitionContext:completion:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit- *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', `enter code here`reason: 'Application windows are expected to have a root view controller at the end of application launch' *** First throw call stack: ( 0 CoreFoundation 0x0000000109377885 __exceptionPreprocess +

iOS9 does not load insecure resources from a secure page (SSL/HTTPS)

那年仲夏 提交于 2019-11-26 12:16:09
问题 I am trying to load a page into UIWebView on iOS9 using https:// URL. The page loaded includes CSS and images from an insecure server. E.g. the page loaded: https ://www.example.com/ which includes stylesheet http ://www.example.com/style.css and image http ://www.example.com/image.jpg Everything works if the original page is loaded via insecure connection (regular http). Everything works also on iOS8 both via HTTPS and HTTP. I did set NSAppTransportSecurity to NSAllowsArbitraryLoads in