Some code I am unit testing needs to load a resource file. It contains the following line: NSString *path = [[NSBundle mainBundle] pathForResource:@"foo" ofType:@"txt"]; In the app it runs...
Today I uploaded my first build of first app successfully to App Store for beta testing. After making a few changes, when I tried to submit the new archive...
An Xcode beginner’s question: It is my first experience with Xcode 4.6.3. I am trying to write a very simple console program, that searches for paired BT devices and...
Given this code: import SwiftUI struct ContentView: View { var body: some View { VStack(alignment: .leading) { Text("Title") .font(.title) Text("Content") .lineLimit(nil) .font(.body) Spacer() } .background(Color.red) } } #if DEBUG...
Note: This is for OS X Installer packages only, packages for submission to the Mac App Store follow different rules. Because of Mountain Lion’s Gatekeeper I finally had to...
Using Xcode 4.5.1. Our project has been building fine for the last three months, but suddenly, when I try to build, it says “Build failed”, but does not show...
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed...
I cannot run my app on simulators anymore. Online suggested that I edit my project.pbxproj, but that does not appear to work. How do I reclaim the ability to...
I downloaded Xcode 6 GM and submitted two Swift apps to the app store today. Both passed all pre-upload verification and all the other stuff they had to pass...
Have been out of Swift coding for almost a year, I’m back. Download Xcode 10 beta. Have I lost my mind? I’ve tried every trick I know, none of...