Search results for

“Xcode”

93,783 results found

Post

Replies

Boosts

Views

Activity

Xcode dSYM
Xcode has DEBUG_INFORMATION_FORMAT set for Debug as DWARF with dSYM File. However, after the Build command is executed, the dSYM file is not seen at (project)/Build/Debug. This is the place where the dSYM gets generated. The version of Xcode is 13.1.
1
0
544
Nov ’21
C++ in Xcode
I am trying to make a command line tool with C++ inside of Xcode and at the top I need to have: <includeWinuser.h>, and <includewindow.h>, but Xcode keeps telling me that they don't exist?!?! The other 2 that I am including are: <includefstream>, and <includeiostream> [and those 2 are in the Xcode library and they work fine]?!?! So, is it because I am not using windows, or do I need to use another template instead of Command Line tool.Hope I wasnt confusing here, but that is the problem. How can I fix it? I really could use getting this fixed so I can get started in my project.
8
0
4.2k
May ’17
Xcode 13.1?
Apple's automatic update of Xcode 13.1 to 13.2 broke two of my projects and I'm dead in the water. I was using the App Store version. Is it possible to download Xcode 13.1? All I can find is 13.2.
3
0
844
Dec ’21
IOS app fails to build on Xcode 16 RC but had no issues on Xcode 15
Xcode 16 RC refuses to recognise my iPhone 13 mini running IOS 18 as a device and won’t compile onto it. Using the exact same setup I can compile onto my iPad running IOS 17.5. Xcode used to compile onto it (Xcode 15.x and iphone on IOS 17.x). My iphone is a known device in my developer account. I have switched on ‘Developer Mode’ in the iPhone Settings and rebooted. I am using an Apple lightning cable. I’ve tried changing USB ports. The Mac recognises it in Finder. On one app my minimum deployment is IOS 17. I have created a new app where the minimum deployment is IOS 18 and tried both in combinations, below. I can plug in my iPad running iPadOS 17 and Xcode 16 RC will compile successfully onto it (app is minimum deployment IOS 17) , just not my iPhone now that I upgraded it to IOS 18. I have: installed the Iphone 13 mini simulator with IOS 18 on Xcode 16 RC and compiled successfully to that with both apps. rebooted all devices and replugged all
2
0
4.8k
Sep ’24
Reply to Swift SDK compiled with Xcode 8 don't work with an application on Xcode 9
You can't mix code compiled with different versions of the Swift compiler. Xcode 8 and Xcode 9 have different versions of the Swift compiler. Note that different version refers to the entire version number. (For example, Swift versions 4.0.0 and 4.0.1 are different versions.) That's why your code won't work.However, the statement you quoted isn't referring to different versions of the Swift compiler, but different versions of the Swift language. Roughly, the language version changes when new, incompatible syntax is introduced.The versions of the Swift compiler in Xcode 9 support language versions 4.0 and 3.2. (Before language version 4 existed, there were language versions 3.0 and 3.1.) So, the way you mix Swift 4 and Swift 3 targets in one project is to migrate the Swift 3 targets to language version 3.2.But you have to do it all within a single version of Xcode 9.x.
Nov ’17
Xcode quit unexpectedly
Some one can help me for this problem. Thank you!!!!!!Process: Xcode [1411]Path: /Applications/Xcode.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 11.1 (15405)Build Info: IDEFrameworks-15405000000000000~13App Item ID: 497799835App External ID: 832925179Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [1411]User ID: 501Date/Time: 2019-10-17 17:00:19.702 +0200OS Version: Mac OS X 10.14.5 (18F132)Report Version: 12Anonymous UUID: 1031994E-23CB-BF39-895C-07ED5AAE0166Time Awake Since Boot: 9100 secondsSystem Integrity Protection: enabledCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYApplication Specific Information:ProductBuildVersion: 11A1027UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Error getting value for parameter key 'class' of extension 'Xcode.InterfaceBuilderKit.PepperIntegration.ConfigurationLis
3
0
2.1k
Oct ’19
There are 2 different results between Xcode 15 and Xcode 16
I have an macOS Application that communication with USB devices. There are 2 different results between Xcode 15 and Xcode 16. Do I forget somethings in Xcode 16? Results Xcode 15: It works very well Xcode 16: USB communication error occurred. If I try to modify Instrument's openUSB() function to func openUSB() { sleep(1) . . . } It works very well. My Application code class AppDelegate: NSObject, NSApplicationDelegate { override init() { super.init() _ = Controller.shared } ... } class Controller: NSObject { public static let shared = Controller() public private(set) var instrument: Instrument private override init() { super.init() self.instrument = Instrument() } } class Instrument: NSObject { override init() { super.init() openUSB() } func openUSB() { . . . } }
0
0
170
Oct ’24
Reply to Xcode Source Editor Extension - single character selection range
Hey! Your code logic isn't right.start.column is the offset of te cursor from the BEGGINING of the line, so column zero would be exactly the begining of the line, even if there are any spaces or tabs.Column zero would be right before the first letter of this sentence.So if you want to know if theres no selection you should instead check:start.column == end.column // No selectionOr if you want to check for only one character or n number of characters selected you should do this:start.column == (end.column - 1) // only one character selected start.column == (end.column - x) // only X number of characters selectedBTW, I finished my xcode extension two days ago and I'm still not able to use it in Xcode 8 final because of a **** bug. 😠 but that's another problem.Hope this helps 😉
Sep ’16
compile CaseIterable in Xcode 9 but not in Xcode 10
Can anybody tell me a clean way to compile a Swift protocol and its implementation in Xcode 9 but not in Xcode 10?I tried various options, including some based on conditional compilation like #if swift(>=4.2), and currently use a very ugly method based on duplicating the target. I wonder if there isn't any clean way.The concrete reason is the protocol CaseIterable. I welcome the addition of this protocol to Swift 4.2 in Xcode 10, as it enables iterations over all cases of an enumeration. I look forward to removing my own implementation of that protocol, which was based on the fact that hashValue and rawValue in an enumeration used to return the same thing (described at various places, in this blog for example). This implementation does not work in Xcode 10 anymore, since hashValue has changed. That should not be a problem, I can just use the new compiler-supported implementation of CaseIterable, right? Unfortunately I cannot see a clean way of excluding my implementation
16
0
3.9k
Jun ’18
xcode promblem
I'm using Xcode for programming in c++ alanguage But when I type the code and hit run it tells me there is a problem How can I solve it? I am a beginner in computer and programming My device is a MacBook Pro And this is the problem Ld /Users/lamiaalkhunini/Library/Developer/Xcode/DerivedData/c-awfbaiszjqjdyzfyhvlstvnfmpbe/Build/Products/Debug/c normal x86_64 (in target 'c' from project 'c') cd /Users/lamiaalkhunini/Creative Cloud Files/c /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/lamiaalkhunini/Library/Developer/Xcode/DerivedData/c-awfbaiszjqjdyzfyhvlstvnfmpbe/Build/Products/Debug -F/Users/lamiaalkhunini/Library/Developer/Xcode/DerivedData/c-awfbaiszjqjdyzfyhvlstvnfmpbe/Build/Products/Debug -filelist /Users/lamiaalkhunini/Library/Developer/Xcode/DerivedData/c-awfbai
0
0
324
Feb ’21
Xcode dSYM
Xcode has DEBUG_INFORMATION_FORMAT set for Debug as DWARF with dSYM File. However, after the Build command is executed, the dSYM file is not seen at (project)/Build/Debug. This is the place where the dSYM gets generated. The version of Xcode is 13.1.
Replies
1
Boosts
0
Views
544
Activity
Nov ’21
Run iOS 18 simulator on Xcode 26 on Xcode Cloud
I have a workflow where I want to specifically run some tests in the iOS 18 simulator. All while using Xcode 26 on Xcode Cloud. In my Xcode Cloud workflow I can set the iOS version, but just iOS 16, 17 and 26, but no 18? I'm very confused here Not sure which is the right channel anyway to request support to Xcode Cloud too
Replies
0
Boosts
0
Views
192
Activity
Oct ’25
C++ in Xcode
I am trying to make a command line tool with C++ inside of Xcode and at the top I need to have: <includeWinuser.h>, and <includewindow.h>, but Xcode keeps telling me that they don't exist?!?! The other 2 that I am including are: <includefstream>, and <includeiostream> [and those 2 are in the Xcode library and they work fine]?!?! So, is it because I am not using windows, or do I need to use another template instead of Command Line tool.Hope I wasnt confusing here, but that is the problem. How can I fix it? I really could use getting this fixed so I can get started in my project.
Replies
8
Boosts
0
Views
4.2k
Activity
May ’17
Xcode 13.1?
Apple's automatic update of Xcode 13.1 to 13.2 broke two of my projects and I'm dead in the water. I was using the App Store version. Is it possible to download Xcode 13.1? All I can find is 13.2.
Replies
3
Boosts
0
Views
844
Activity
Dec ’21
Can C++ libraries built with Xcode 7 be used with Xcode 8?
Can I continue to build my C++ library using Xcode 7.2 and have it work with an application built with Xcode 8.3.x?Xcode release notes don't mention compatibility of software built with different versions of Xcode. Is there another place to look for confirmation of compatibility (or non-compatibility!) .Thanks!quantumreality
Replies
0
Boosts
0
Views
360
Activity
Jun ’17
IOS app fails to build on Xcode 16 RC but had no issues on Xcode 15
Xcode 16 RC refuses to recognise my iPhone 13 mini running IOS 18 as a device and won’t compile onto it. Using the exact same setup I can compile onto my iPad running IOS 17.5. Xcode used to compile onto it (Xcode 15.x and iphone on IOS 17.x). My iphone is a known device in my developer account. I have switched on ‘Developer Mode’ in the iPhone Settings and rebooted. I am using an Apple lightning cable. I’ve tried changing USB ports. The Mac recognises it in Finder. On one app my minimum deployment is IOS 17. I have created a new app where the minimum deployment is IOS 18 and tried both in combinations, below. I can plug in my iPad running iPadOS 17 and Xcode 16 RC will compile successfully onto it (app is minimum deployment IOS 17) , just not my iPhone now that I upgraded it to IOS 18. I have: installed the Iphone 13 mini simulator with IOS 18 on Xcode 16 RC and compiled successfully to that with both apps. rebooted all devices and replugged all
Replies
2
Boosts
0
Views
4.8k
Activity
Sep ’24
Reply to Swift SDK compiled with Xcode 8 don't work with an application on Xcode 9
You can't mix code compiled with different versions of the Swift compiler. Xcode 8 and Xcode 9 have different versions of the Swift compiler. Note that different version refers to the entire version number. (For example, Swift versions 4.0.0 and 4.0.1 are different versions.) That's why your code won't work.However, the statement you quoted isn't referring to different versions of the Swift compiler, but different versions of the Swift language. Roughly, the language version changes when new, incompatible syntax is introduced.The versions of the Swift compiler in Xcode 9 support language versions 4.0 and 3.2. (Before language version 4 existed, there were language versions 3.0 and 3.1.) So, the way you mix Swift 4 and Swift 3 targets in one project is to migrate the Swift 3 targets to language version 3.2.But you have to do it all within a single version of Xcode 9.x.
Replies
Boosts
Views
Activity
Nov ’17
playground in xcode
whats the fastest way tocreat a app using xcode
Replies
0
Boosts
0
Views
344
Activity
Jun ’15
Xcode Beta
is it safe to use Xcode beta 12? Are there any drawbacks to installing it?
Replies
2
Boosts
0
Views
612
Activity
Aug ’20
Xcode quit unexpectedly
Some one can help me for this problem. Thank you!!!!!!Process: Xcode [1411]Path: /Applications/Xcode.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 11.1 (15405)Build Info: IDEFrameworks-15405000000000000~13App Item ID: 497799835App External ID: 832925179Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [1411]User ID: 501Date/Time: 2019-10-17 17:00:19.702 +0200OS Version: Mac OS X 10.14.5 (18F132)Report Version: 12Anonymous UUID: 1031994E-23CB-BF39-895C-07ED5AAE0166Time Awake Since Boot: 9100 secondsSystem Integrity Protection: enabledCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYApplication Specific Information:ProductBuildVersion: 11A1027UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Error getting value for parameter key 'class' of extension 'Xcode.InterfaceBuilderKit.PepperIntegration.ConfigurationLis
Replies
3
Boosts
0
Views
2.1k
Activity
Oct ’19
There are 2 different results between Xcode 15 and Xcode 16
I have an macOS Application that communication with USB devices. There are 2 different results between Xcode 15 and Xcode 16. Do I forget somethings in Xcode 16? Results Xcode 15: It works very well Xcode 16: USB communication error occurred. If I try to modify Instrument's openUSB() function to func openUSB() { sleep(1) . . . } It works very well. My Application code class AppDelegate: NSObject, NSApplicationDelegate { override init() { super.init() _ = Controller.shared } ... } class Controller: NSObject { public static let shared = Controller() public private(set) var instrument: Instrument private override init() { super.init() self.instrument = Instrument() } } class Instrument: NSObject { override init() { super.init() openUSB() } func openUSB() { . . . } }
Replies
0
Boosts
0
Views
170
Activity
Oct ’24
Reply to Xcode Source Editor Extension - single character selection range
Hey! Your code logic isn't right.start.column is the offset of te cursor from the BEGGINING of the line, so column zero would be exactly the begining of the line, even if there are any spaces or tabs.Column zero would be right before the first letter of this sentence.So if you want to know if theres no selection you should instead check:start.column == end.column // No selectionOr if you want to check for only one character or n number of characters selected you should do this:start.column == (end.column - 1) // only one character selected start.column == (end.column - x) // only X number of characters selectedBTW, I finished my xcode extension two days ago and I'm still not able to use it in Xcode 8 final because of a **** bug. 😠 but that's another problem.Hope this helps 😉
Replies
Boosts
Views
Activity
Sep ’16
compile CaseIterable in Xcode 9 but not in Xcode 10
Can anybody tell me a clean way to compile a Swift protocol and its implementation in Xcode 9 but not in Xcode 10?I tried various options, including some based on conditional compilation like #if swift(>=4.2), and currently use a very ugly method based on duplicating the target. I wonder if there isn't any clean way.The concrete reason is the protocol CaseIterable. I welcome the addition of this protocol to Swift 4.2 in Xcode 10, as it enables iterations over all cases of an enumeration. I look forward to removing my own implementation of that protocol, which was based on the fact that hashValue and rawValue in an enumeration used to return the same thing (described at various places, in this blog for example). This implementation does not work in Xcode 10 anymore, since hashValue has changed. That should not be a problem, I can just use the new compiler-supported implementation of CaseIterable, right? Unfortunately I cannot see a clean way of excluding my implementation
Replies
16
Boosts
0
Views
3.9k
Activity
Jun ’18
xcode promblem
I'm using Xcode for programming in c++ alanguage But when I type the code and hit run it tells me there is a problem How can I solve it? I am a beginner in computer and programming My device is a MacBook Pro And this is the problem Ld /Users/lamiaalkhunini/Library/Developer/Xcode/DerivedData/c-awfbaiszjqjdyzfyhvlstvnfmpbe/Build/Products/Debug/c normal x86_64 (in target 'c' from project 'c') cd /Users/lamiaalkhunini/Creative Cloud Files/c /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/lamiaalkhunini/Library/Developer/Xcode/DerivedData/c-awfbaiszjqjdyzfyhvlstvnfmpbe/Build/Products/Debug -F/Users/lamiaalkhunini/Library/Developer/Xcode/DerivedData/c-awfbaiszjqjdyzfyhvlstvnfmpbe/Build/Products/Debug -filelist /Users/lamiaalkhunini/Library/Developer/Xcode/DerivedData/c-awfbai
Replies
0
Boosts
0
Views
324
Activity
Feb ’21
Xcode simulator
Having MacBook Pro with macOS Monterey v 12.7.2 and Xcode 13.3 (13B113) I cannot find a Xcode simulator, which could provide iPhone 6.7 display for my first app's product page' Any advice? Thanks!
Replies
0
Boosts
0
Views
705
Activity
Jan ’24