xcode9

Xcode 9 - Add an App Store icon

白昼怎懂夜的黑 提交于 2019-12-08 14:57:51
问题 i saw this new requirement in itunes connect (next to the App Store Icon ): As for now (Xcode 8.3.x) I have AppIcon assets next to the App Icon Source Is this requirement means i need to change any thing? or only that from Xcode 9.x.x the App Icon Source and the App store Icons are coupled and there is no option to change the App Store Icon in iTunes connect? 回答1: If you're using Xcode 9 or later, you should use your Assets catalog (See image below) to provide an App Store Icon for your app

How do I reset the Simulator in Xcode 9

柔情痞子 提交于 2019-12-08 14:54:17
问题 I'm trying to reset it. In Xcode 8 we went to "Simulator -> Reset Content and Settings". I don't see that in Xcode 9 and need to wipe my simulator. 回答1: I found it. It is now under "Hardware -> Erase All Content and Settings" 回答2: Xcode 9.4 You need to click on Simulator first. Hardware > Erase All Content and Settings. This will reset the simulator. Wait for a minute for the Simulator to rebuild. 来源: https://stackoverflow.com/questions/46372976/how-do-i-reset-the-simulator-in-xcode-9

Convert to Current Swift Syntax Failed - “No such module” (Swift 4, Xcode 9)

≡放荡痞女 提交于 2019-12-08 14:46:48
问题 In Xcode 9, I am trying to do the automatic conversion to Swift 4. It fails with the following message: Convert to Current Swift Syntax Failed Please ensure that all selected targets build successfully with the currently configured Swift version before attempting a migration. It's complaining of a missing module. But when I do a regular build there are no issues. Not sure if this is relevant, but the module (which Xcode is complaining is missing) was already converted to Swift 4 earlier (in

Xcode 9 <Warning> [Firebase/Analytics][I-ACS031011] Root view controller not found

ε祈祈猫儿з 提交于 2019-12-08 11:12:33
问题 Noticed following warning repeated multiple times on console when compiling project with Xcode 9. Appname [33380] <Warning> [Firebase/Analytics][I-ACS031011] Root view controller not found Other relevant details: Appname [33380] <Notice> [Firebase/Analytics][I-ACS023007] Firebase Analytics v.40002000 started Appname [33380] <Notice> [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see --shortened url--) Appname [33380

How can I submit iOS apps to the App Store with MacBook A1181?

安稳与你 提交于 2019-12-08 11:08:47
问题 Apple Store no longer accepts apps builded with Xcode less than 9. I know that Xcode 9 requires at least Mac OS X 10.12 (Sierra) but this answer gave me hope: https://stackoverflow.com/a/48692923/5321513 I've a MacBook A1181 (early 2009) and I've already tried to intercept and edit all the files I think are involved in checking the version with this terminal command: grep "10.12" -R --include="Info.plist" /Applications/Xcode9.2.app 2>/dev/null changing the parameter "Minimum system version"

XCode 9.1 Command /bin/sh failed with exit code 1

北慕城南 提交于 2019-12-08 03:40:15
问题 After updating xcode to version 9.1, I can't compile my projects, always have the same error Command /bin/sh failed with exit code 1. I tried to create empty project, install all pods I need, and the result is the same. Here is my podfile source 'https://github.com/CocoaPods/Specs.git' platform :ios, '8.0' use_frameworks! target 'xcode9.1' do pod 'RMStore' pod 'GoogleMaps' pod 'RMMapper' pod 'FacebookCore' pod 'FacebookLogin' pod 'FacebookShare' pod 'VK-ios-sdk' pod 'TwitterKit' pod

missing required icon issue and marketing icon not found issue

大兔子大兔子 提交于 2019-12-08 03:20:53
问题 I just updated Xcode from version 8.3 to 9 via appstore. I am trying to submit my new app version but I am facing app upload problem with Xcode 9. I had not got this issue before when I uploaded app using Xcode 8.3. My app is iPhone app and minimum target is iOS 9. My code is in Swift 3.2. The issue is about the missing required icon as shown below: When I upload app with Application Loader 3.0, it gives me error saying "Missing required icon file........ >=7.0" and about marketing icon

error: conditional compilation flags must be valid Swift identifiers (rather than 'DEBUG”')

风流意气都作罢 提交于 2019-12-08 03:02:08
问题 I'm trying to build my project with Xcode 9 beta 6 (9M214v). Also, I'm using CocoaPods. I've converted to Swift 4 and updated my project settings, but I keep getting this error. Things I've tried so far: Clean project and build folder Deleting / re-adding pods Restart Xcode Remove Active Compilation Conditions flags Anyone has an idea how to solve this? Error message: <unknown>:0: error: conditional compilation flags must be valid Swift identifiers (rather than 'DEBUG”') Command /Applications

Xcode 9.1/9.2 beta immediately crashes on launch

心已入冬 提交于 2019-12-08 02:41:42
问题 A few days ago, when I would open my Xcode project and navigate to the storyboard, Xcode would hang and then ultimately not respond and then I would have to force quit. I looked up the issue and saw a suggestion to delete ~/Library/Developer folder... now the Xcode window doesn't even appear . The application just immediately crashes without opening. Steps I've taken, in chronological order: Deleted and reinstalled Xcode > did not solve Upgraded from macOS Sierra to High Sierra > did not

Xcode 9, iOS 11, XCUITest failure: Main Thread Checker Flurry Analytics

北城以北 提交于 2019-12-08 00:25:42
问题 Running my suite of XCUITests using Xcode 9 running on iOS 11. Tests all run perfect in Xcode 8 (iOS10), but in Xcode 9 I get the following error: Main Thread Checker: UI API called on background thread [UIApplication statusBarOrientation]... ... Queue name: com.Flurry.Analytics.Session This can be fixed by commenting out all the Flurry code, but that is obviously not ideal. This issue has been seen by devs previously: https://github.com/flurry/flurry-ios-sdk/issues/91 However, in this case,