xcode9.2

Enable Allow arbitrary Loads of App Transport Security Setting not working in XCODE 9.2 and iOS 11.2

孤街浪徒 提交于 2021-02-20 16:19:00
问题 I used same setting for enabling arbitrary load but now i faced some issues.I used alamofire for json parsing. info.plist settings: and error is : 回答1: your info plist hierarchy for transport should be like this 回答2: NSAppTransportSecurity provides the network layer security and only allow http secured urls. There are 2 ways to solve this: Case 1: In your code you are using an unsecure url with http:// replace it with https:// , then it will work. Case 2: If you don't have ssl enabled url

Enable Allow arbitrary Loads of App Transport Security Setting not working in XCODE 9.2 and iOS 11.2

岁酱吖の 提交于 2021-02-20 16:16:23
问题 I used same setting for enabling arbitrary load but now i faced some issues.I used alamofire for json parsing. info.plist settings: and error is : 回答1: your info plist hierarchy for transport should be like this 回答2: NSAppTransportSecurity provides the network layer security and only allow http secured urls. There are 2 ways to solve this: Case 1: In your code you are using an unsecure url with http:// replace it with https:// , then it will work. Case 2: If you don't have ssl enabled url

How to dockerize Xcode

廉价感情. 提交于 2020-02-01 03:50:35
问题 For CI purposes I have a need to set up a cluster of build slaves capable of building iOS apps. For now I'm relying on a single MacMini -with the aim to deploy several more in the future- and I'd like to virtualize several slaves on top of it. Some of these virtual slaves will build the iOS app, others will be smaller Linux slaves for miscellaneous purposes. I'm completely new to Docker, so my main question is whether it's possible to dockerize Xcode 9.2 and/or MacOS in order to virtualize my

Bitrise : GoogleMaps framework not found issue

早过忘川 提交于 2020-01-02 10:28:11
问题 I am using Bitrise to generate build and upload it to AppStore. There were no errors when i run app on device or generate build and upload to AppStore via Xcode no problem occurred, but when i tried to do the same process via Bitrise it fails saying ❌ ld: framework not found GoogleMaps ❌ clang: error: linker command failed with exit code 1 (use -v to see invocation) The following build commands failed: Ld /Users/vagrant/Library/Developer/Xcode/DerivedData/ -dieoklyyfvjmlsccijdlwfgpxbsh/Build

App installation failed : This application does not support this device’s CPU type

心不动则不痛 提交于 2019-12-24 12:06:21
问题 I get an error when I try to load my application on iPhone7 in Xcode9.2. version of Iphone7 is ios11.0. thanks for your help. 回答1: One thing you can check in your project is that you have selected 'Standard Architectures' in Project's Build Settings. As in below image. 回答2: In my case 'Standard Architectures' in Project's Build Settings was set, yet I was getting this error. So the thing that fixed it for me was changing the value of "Mach-O Type" to Executable 来源: https://stackoverflow.com

Cocoapods not working Xcode 9.2

…衆ロ難τιáo~ 提交于 2019-12-24 05:27:28
问题 Cocoapods are installed but not working(Xcode 9.2), I tried these solutions https://github.com/CocoaPods/CocoaPods/issues/3777. I have set Framework set paths to recursive but nothing is working for me. Even in framework directory its showing multiple files, find the below image 回答1: I got the same problem. In your project setting goto build setting and set Build Active Architecture only -> Yes . Hope this will help you. 回答2: I had the same problem, try this pod repo update 来源: https:/

Xcode 9.2 is not showing Swift 4.1

混江龙づ霸主 提交于 2019-12-23 16:08:51
问题 Apple compatibility documentation is mentioning that: Swift 4.1, the default version of Swift that’s included in Xcode 9.2. Yet, using Xcode Version 9.2 (9C40b), the choice of Swift Language Version that I have are 3.2 and 4.0: Is it a mistake in the documentation or a problem in Xcode? Can I use Swift 4.1 with Xcode 9.2? Will I be able to submit to AppStore using it? 回答1: Apple documentation was incorrect, Swift documentation is correct. Well, to be double sure of which version is supported,

Disable App Transport Security in Xcode 9.2?

僤鯓⒐⒋嵵緔 提交于 2019-12-21 08:49:30
问题 I cannot disable App Transport Security (ATS) in Xcode 9.2. I have been (for years) disabling ATS when running builds against my local server environment like so: Transport security has blocked a cleartext HTTP <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict> In Xcode 9.2, a simple request (running against a local Rails app in http mode): let session = URLSession(configuration: .default) let url = URL(string: "http://store.dev/api/products.json")! let

Why Xcode shows “This app could not be installed at this time.” pop-up?

本小妞迷上赌 提交于 2019-12-13 03:36:11
问题 When I run the project and add the app in simulator for the first time, everything is okay. But when I run it again, Xcode prompts this message as a pop-up window at the end of compilation: This app could not be installed at this time. I already checked the relevant question, and tried all the advised ways to solve this issue; checking mentioned logs, cleaning project, restarting simulator, changing it, erasing all content and settings in it. Nothing works. I must erase the app and recompile

MapKit (Swift 4) Xcode 9.2 - 'Could not inset legal attribution from corner 4'

帅比萌擦擦* 提交于 2019-12-10 20:22:46
问题 I'm doing a project that deals with a MapKit. My issue is when I run the app, I get the 'Could not inset legal attribution from corner 4.' error. What solution can I take to resolve this issue? error: My app screen: 回答1: I had the exact same error as you - the map was not showing up and I was getting the error: 2018-08-25 09:59:17.324966-0400 Parse Foursquare Clone[45537:42276733] Could not inset legal attribution from corner 4 2018-08-25 09:59:17.332612-0400 Parse Foursquare Clone[45537