Questions tagged [xcode9.1]

Xcode 9.1 is the release of Xcode Tool. Xcode is the complete developer toolset used to create apps for Apple TV, Apple Watch, iPad, iPhone, and Mac. The Xcode development environment bundles the Instruments analysis tool, Simulator, and the OS frameworks in the form of tvOS SDKs, watchOS SDKs, iOS SDKs, and macOS SDKs.

93 questions
172
votes
8 answers

warning: 'characters' is deprecated: Please use String or Substring directly

characters - an instance property of String, is deprecated from with Xcode 9.1 It was very useful to get a substring from String by using the characters property but now it has been deprecated and Xcode suggests to use substring. I've tried to check…
Krunal
  • 68,602
  • 40
  • 230
  • 241
90
votes
4 answers

Unable to boot device because it cannot be located on disk

The device's data is no longer present at /Users/[user name]/Library/Developer/CoreSimulator/Devices/D651BCC7-29FD-4B91-82F6-E255E856EA2F/data. I uninstalled xcode 9 and installed xcode 9.1, but when run project, following message was shown: Unable…
Milan Jansen
  • 1,001
  • 1
  • 7
  • 4
30
votes
6 answers

Failed to load optimized model - GoogleMaps SDK IOS

I am getting this error after installing Google Maps SDK from CocoaPods. CoreData: annotation: Failed to load optimized model at path…
Nabeel
  • 632
  • 1
  • 7
  • 21
24
votes
11 answers

Xcode 9.1 iOS simulator Window > Physical Size disabled

I need to make screen shots (specifically iPad Pro 12.9") for the App Store. I resized the simulator to fit it on my mac's screen. Now I can't resize it back to 100%, which is required to make a new screen shot. Both sizing options, Physical Size…
Worth
  • 243
  • 3
  • 8
9
votes
2 answers

XCode 9.1 - Location simulation went missing

I just updated my XCode to 9.1 today, and surprisingly I can't find "Allow location simulation" in scheme setting, please refer to the screenshot below: Has any one got the same problem? And any suggestion that I can fix it? Apple's getting worse…
hoang Cap
  • 654
  • 5
  • 17
8
votes
0 answers

Xcode 9.1 - playgrounds broken

I am having absurd problems since updating to Xcode 9.1. Opening playgrounds from the 'App Development with Swift' curriculum yields completely broken results, as you can see in the following image. as you can see there is no functioning…
NotationMaster
  • 275
  • 2
  • 13
7
votes
4 answers

Getting this error command /usr/bin/codesign failed with exit code 1 with xcode 9.1?

I am getting this error /Users/macbook/Library/Developer/Xcode/DerivedData/xxxxx-egjyfcyhdfcgftavbtoudbcgthja/Build/Products/Debug-iphoneos/xxxx.app: unknown error -1=ffffffffffffffff command /usr/bin/codesign failed with exit code 1 with xcode…
xeb
  • 171
  • 1
  • 3
  • 10
6
votes
0 answers

Xcode 9.1 taking too much time to compile

i m running on ios 11.1 and Xcode 9.1, Xcode taking too much time to compile, every time it stops by saying Compliling Swift source files Can any one please tell me what is wrong or how to resolve this issue.
Subrat Padhi
  • 130
  • 11
6
votes
0 answers

When I use xctest to test my download function , it occurs this error

An error occurred on the xpc connection: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.nsurlsessiond" UserInfo={NSDebugDescription=connection to service named com.apple.nsurlsessiond} I don't known what it is…
6
votes
6 answers

iOS 11.2 beta released, but not a corresponding Xcode beta

I've just installed iOS 11.2 Beta and downloaded the latest Xcode (which is 9.1 - beta 2. 9B46). But when I try to run the app on the device it says it doesn't have the necessary support files. So how am I supposed to develop with 11.2 beta if…
Gruntcakes
  • 36,166
  • 41
  • 170
  • 346
4
votes
1 answer

Creating Universal Fat Framework lipo: can't create temporary output file

On creating Fat framework from aggregate target, I am following the build phase script from this gist link with minor changes on my script link. On target build, Xcode is showing fetal error: lipo: can't create temporary output file:…
kaushal
  • 1,441
  • 16
  • 22
4
votes
0 answers

XCode 9 - Fail to archive app

I was using XCode 7.3 and recently migrate to XCode 9.1. Since, there is no problem to launch app on mobile (compile, run without crashes). But when I want to archive app, it fail with this error : "No such module 'RealmSwift'" or "No such module…
Florian Mac Langlade
  • 1,789
  • 6
  • 26
  • 55
4
votes
1 answer

How can I use swiftlint to enforce that every swift file must include a specified header values?

I wanted that every *.swift files must have the required texts. Like so.. If the developer forgets to add it or has inputted the wrong values swiftlint will give an error or warning upon compiling. I have searched about file_header but somehow it…
otakuProgrammer
  • 298
  • 1
  • 12
4
votes
2 answers

XCode 9.1 Hang on load Storyboard Signing product issue

Folks, Currently I am using xcode 9.1 version when working into .h,.m or .swift file projects works properly even when run application into device works without any error. Also same project open into XCODE 8 It's works .storyboard open and able to…
Nimit Parekh
  • 16,021
  • 8
  • 47
  • 70
3
votes
0 answers

Xcode 9 : Command failed due to signal: Abort trap: 6

I am not able to build in xcode 9. It says Command failed due to signal: Abort trap: 6. I have tried solutions mentioned in stackoverflow, but none of them worked. As its mentioned, overriding description var gives this error. This is done in third…
rishu1992
  • 1,344
  • 3
  • 12
  • 29
1
2 3 4 5 6 7