xcode9

-allowProvisioningUpdates doesn't work

我的未来我决定 提交于 2019-12-18 11:24:41
问题 We are using Jenkins for Continiuous Integration. Everything we need to do in order to compile our app is done via commandline (bash script), because we have several machines where the build has be done without any human access to the devices. As you can imagine I was very happy to see the new xcodebuild feature flag -allowProvisioningUpdates in XCode9. I understand, that I need to add the credentials of our Apple ID into the XCode settings. The credentials are adde to the XCode account tab

-allowProvisioningUpdates doesn't work

∥☆過路亽.° 提交于 2019-12-18 11:24:12
问题 We are using Jenkins for Continiuous Integration. Everything we need to do in order to compile our app is done via commandline (bash script), because we have several machines where the build has be done without any human access to the devices. As you can imagine I was very happy to see the new xcodebuild feature flag -allowProvisioningUpdates in XCode9. I understand, that I need to add the credentials of our Apple ID into the XCode settings. The credentials are adde to the XCode account tab

dyld: dyld_sim not compatible mach-o

三世轮回 提交于 2019-12-18 11:01:20
问题 I installed Xcode 9 and trying to run my app on ios simulator 11.0. As soon as it launches the app its crashing giving this error. What does this error mean? If my app is not compatible with ios11.0, how can I check for the compatibily? EDIT - Uploaded my valid Architectures 回答1: You need to make these changes in build setting ... it works for me 回答2: I had the same problem and found out that the architectures and valid architectures settings for my targets (and pods) were set wrong. iOS 11

Safe area layout guides in xib files - iOS 10

末鹿安然 提交于 2019-12-18 10:08:33
问题 I started adapting my app for iPhone X and found an issue in Interface Builder. The safe area layout guides are supposed to be backwards compatible, according to official Apple videos. I found that it works just fine in storyboards. But in my XIB files, the safe area layout guides are not respected in iOS 10. They work fine for the new OS version, but the iOS 10 devices seem to simply assume the safe area distance as zero (ignoring the status bar size). Am I missing any required configuration

Xcode 9 Autocomplete Not Working 100% - Partially Working

守給你的承諾、 提交于 2019-12-18 10:06:13
问题 This morning, Xcode 9.0 (9A235) shows a new/strange Auto Complete box that is not at all what it used to be. How do I get the full auto-complete box so that autocomplete looks like how it usually does? 回答1: Try: Go to Xcode > Preferences > Text Editing Under Code completion - Uncheck 'Suggest completions while typing' Quit out of Xcode and then relaunch Xcode. Go to Xcode > Preferences > Text Editing again Quit out of Xcode and then relaunch Xcode. Now go to Code completion and check 'Suggest

How to prevent app from overlapping status bar in ios-11, iPhone-X, Xcode-9

假装没事ソ 提交于 2019-12-18 09:01:11
问题 I want to stop overlapping of my View with statusbar 回答1: Use Auto Layout and pin your view to Top Layout Guide, or use the new Safe Area Layout Guides. To enable it, in your storyboard's File inspector tick the following option. As an example I have used gray image view: As you can see below, it does not overlap status bar: 来源: https://stackoverflow.com/questions/46275652/how-to-prevent-app-from-overlapping-status-bar-in-ios-11-iphone-x-xcode-9

How to connect Xcode 9 and GitHub?

匆匆过客 提交于 2019-12-18 06:56:15
问题 I am part of a group of computer science students building their first project in Swift. We have attempted to connect GitHub with the XCode git configurations so we can all edit one project through pushing and pulling commits. We have little to no prior experience implementing GitHub with native applications such as XCode and online articles have not explained how we can create a project in XCode and connect it to GitHub so we can push and pull to Github and edit a 'master project' that we

Xcode 9 Server: Unable to boot device due to insufficient system resources

两盒软妹~` 提交于 2019-12-17 23:44:50
问题 I'm trying to run my unit tests on all device simulators from iOS 8.4 to 11.0 at the same time by checking the option 'Run test in parallel' when setting up the Xcode Bot. Unfortunately after trying to boot the 13th simulator it failes with the error message in the build log: xcodebuild: error: Failed to build workspace xxxxx with scheme yyyyy. Reason: Unable to boot device due to insufficient system resources. Testing failed on 'iPhone 4s' I'm running the server on a mac mini and i think it

How to change navigationBar height in iOS 11?

冷暖自知 提交于 2019-12-17 23:03:03
问题 Apparently changing the navigationBar height faced a new approach in iOS 11. in previous iOS versions it was possible to change the navigationBar height by hiding the default navigationBar and adding a new one with custom frame: self.navigationController?.setNavigationBarHidden(true, animated: false) let customNavigationBar = UINavigationBar(frame: CGRect(x: 0, y: 0, width: self.view.bounds.width, height: 64)) self.view.addSubview(customNavigationBar) But it seems that it is not working in

How do I install Xcode 9 without updating macOS?

徘徊边缘 提交于 2019-12-17 22:27:15
问题 Does anyone have any idea to install Xcode 8 OR Xcode 9 without updating macOS? I want to update my Xcode 7.1 to Xcode 8 or Xcode 9 (or 9.1) Beta. But it is not allowing me to update directly on OS X Yosemite 10.10. And I don't want to update my OS to El Capitan now, so how can I install Xcode 8 on OS X Yosemite 10.10. 回答1: Xcode 8 will work on OS X 10.11 (El Capitan) but the apps you build with won't, because the only SDK available is macOS 10.12 SDK, i.e. macOS Sierra's. From release notes: