Questions tagged [xcode9.4]

Xcode 9.4 is the latest stable release of Xcode. 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.

109 questions
2
votes
0 answers

RLMSupport.swift compile error under Swift 4.0 and Xcode 9.4

I want to Use Realm-objective-c with RLMSupport.swift under swift 4.1, But this code fragment: for model in banners { // do some stuff } banners is a RLMArray of instances of BannerModel, which defined in Objective-C. The definition like…
振华蒋
  • 21
  • 1
2
votes
2 answers

Swift: Access an enum from another viewController class

I have two viewcontrollers (A and B). In main viewcontroller (A) I'm trying to set a variable and the possible values are enums. The following code is in second viewcontroller(B) Code: enum Numbers: String { case one = "One" case two =…
user2924482
  • 8,380
  • 23
  • 89
  • 173
2
votes
2 answers

Xcode: Setup imageView to be full screen in iPhone X

I'm trying to set imageView full screen in iPhone X but for some reasons it doesn't work. Here an example: As you can see the image below the image view is not completely full screen. Any of you knows how can make full screen? I'll really…
user2924482
  • 8,380
  • 23
  • 89
  • 173
2
votes
3 answers

Is there a way to change the name of a Safari app extension in Xcode?

I have created a Safari app extension through an Xcode target that I want to change the name of. Initially, when creating the Xcode target, I simply called it "Safari Extension", thinking that I would be able to change it easily later. I thought…
2
votes
2 answers

Bug in Interface Builder? Safe Area extends past window bounds

I haven’t seen this one before. After switching my simulated device from iPhone SE to iPhone X and back, I found the Safe Area now extends past the edges of the iPhone SE window. (It’s fine when I switch to iPhone X.) Is this a bug in Interface…
Dylan
  • 2,315
  • 2
  • 20
  • 33
2
votes
4 answers

How to get rid of this Error Generating Code Coverage in Xcode 9.4

I continuously see this pop up "Error Generating Code Coverage " when I try to run my UI Tests and this is followed by another error bundle identifier missing. I have enable code coverage in test scheme. I am really looking forward to run my UI…
MacDeveloper
  • 1,334
  • 3
  • 16
  • 49
2
votes
1 answer

'Argument passed to call that takes no arguments' instantiating HKWorkoutRouteQuery

I'm trying to read the route data of an HKWorkout, but I can't because I get an error in my editor saying 'Argument passed to call that takes no arguments' when I try to instantiate an HKWorkoutRouteQuery with my retrieved sample. As per Apple's…
David Hariri
  • 969
  • 4
  • 15
2
votes
2 answers

Swift:"Unrecognized selector sent to instance", Xcode 9.4.1

Can anyone help me with this? override func viewDidLoad() { super.viewDidLoad() tableView.delegate=self tableView.dataSource=self searchBar.autocorrectionType = .yes searchBar.delegate=self …
2
votes
0 answers

PrepareForDeletion in xCode 9.4 - why are object relationships deleted by this point?

Okay - I might be losing my mind and I hope I am, because the alternative seems worse right now. I upgraded to Xcode 9.4 and all of a sudden my Core Data app started acting crazy. I think I've found something, but it makes no sense to me. All of a…
SAHM
  • 4,078
  • 7
  • 41
  • 77
1
vote
0 answers

Xcode 9.4 highlighting issues on Mojave

I am currently working on customising audacity in Xcode9.4. I work on MacOS Mojave so I had to use Xcode9.4 instead of Xcode 10 in order to even build Audacity. However in Xcode 9.4 the highlighting seems very broken. In the existing header files…
mbouchi
  • 27
  • 6
1
vote
1 answer

Get temperature of current location API swift

Can anyone help me with this API code. I got everything but one error fixed. Here is my code: let APIUrl = NSURL(string:"https://api.openweathermap.org/data/2.5/weather? lat=35&lon=150&appid=e7b2054dc37b1f464d912c00dd309595&units=Metric") var…
B. Deaton
  • 55
  • 1
  • 12
1
vote
0 answers

search in workspace in xcode 9.4 not working.

I have tried bunch of different option to search the text in workspace ( text-containing, reference-containing, text-matching, text-starting, but its not returning any value. In this case I am searching for the content which I already know exist…
Ashim Dahal
  • 1,097
  • 13
  • 15
1
vote
1 answer

Missing simulators in xcode 9.4.1

I am currently running 2 versions of xcode. I recently upgraded from 9.3 to 9.4.1 and also xcode 10 beta 6 on High Sierra v.10.13.6. The simulators seem to work fine in xcode 10 beta 6 but are completely missing from 9.4.1 I have…
Gemma
  • 33
  • 4
1
vote
2 answers

cannot do xcodebuild - Scheme has a space

The Scheme that I need to do the test has a space in it, e.g. "Abc Test" When I setup CI job, and do xcodebuild, will get error [xcodebuild: error: Unknown build action 'Test'.] I tried to pass that name as a parameter (-scheme $testScheme), but…
user10252638
  • 111
  • 4
1
vote
0 answers

Apple App ID not working in Xcode 9 and Developer Portal

Screenshot #1 Screenshot #2 Screenshot #3 I am trying to create an App ID for my App, Doro. I found out that the error is when I enter in a bundle ID in Xcode, then enter it in the Developer Portal. How would I fix this issue? I never had this issue…
Ken Mueller
  • 3,659
  • 3
  • 21
  • 33