Search results for

“Xcode”

93,875 results found

Post

Replies

Boosts

Views

Activity

Shared code for iOS and OS X
Hello guys, so I wanted to create one file with one class and share the code in both iOS and OS X app. The code (Swift):#if !TARGET_OS_IPHONE import Cocoa public typealias Controller1 = NSViewController #else import UIKit public typealias Controller1 = UIViewController #endifAnd when I try to build it I get No such module Cocoa and it's true, iOS have no Cocoa module. Is there any way to create a platform-depended class?
1
0
872
Nov ’15
Reply to iOS 10 backward compatibility
Xcode allows a range of iOS support (based on the iOS SDK it ships with), by setting the Deployment Target accordingly (allowing say iOS 10.x and 9.x in your example), so the general answer to your query is yes.Your framework would require coding/testing as usual to confirm either way.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’17
Sonoma/Xcode 16 Share extensions do not work
My app has extensions, including a share extension. When I upgraded to Sonoma and Xcode 16, the share extension compiles but it does not show up as an share option in any apps. The other extensions are working correctly. So I then created a blank project from scratch and created a new share extension using the included wizard. I added the appropriate extension options, and no matter what I tried, even TRUEPREDICATE, the share extension will not show. I confirmed the target deployment matches the main project and went through every possible check. No matter what I do, the share extension will not show (tested on ios 15, 16,17, and 18. I am pretty certain that there is a bug in either X code 16 or in X code 16 with Sonoma. Please verify - try to create a share extension and see if it works. Help is appreciated.
4
0
1.1k
Oct ’24
Xcode 12.4 update failed, please try again later.
This is very frustrating. After waiting for 3 hours this error shows up without telling me what is the actual problem. And not only my Xcode can't be used (it was way too outdated), now I have to wait for another 3-4 hours for the update that could potentially show this error again. A lot of my dev applications are dependant on x-code and without the updated version I can't get back to work. Is there any constructive way to fix this problem?
0
0
526
Feb ’21
Code signature invalid on Mac OS X 10.10.x
Hello everyone,I have a program signed in Sierra(10.12.1) with XCode(8.1)It was running fine on Sierra and El Capitan, however, when running on Yosemite, the app program crashed and showed the following error message:I had searched online for solutions yet however most of them all suggested to reinstall OS to solve this problemHowever, it may not be good that the users who have Yosemite installed need to reinstall their OS to use my app...Do I really have to reinstall OS or I can do something to my program to fix it?All ideas are appreciated, thanksThe message contains invalid characters.Due to annoying The message contains invalid characters. I cannot post the pull error message here...
5
0
13k
Nov ’16
Reply to How embed sqlite3 binary into my app?
I am in the first case - the sqlite3 binary is only called by my app via a BASH script by using NSTask .OK, that’s actually good news, in that there is a well understood, albeit a little complex, solution.The sqlite3 binary is a plain console program, how to entitle it?Last I checked Xcode does not display it’s user friendly code signing interface for command line tools. You will have to set up code signing via the build settings, specifically:Code Signing Entitlements (CODE_SIGN_IDENTITY)Code Signing Identity (CODE_SIGN_ENTITLEMENTS)IMPORTANT When you set up the Copy Files build phase to copy your tool into your app, make sure you copy it to the ‘executables’ directory (Contents/MacOS). See the Nested Code section in Technote 2206 OS X Code Signing In Depth for details. Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Code Signing SubTopic: General Tags:
Aug ’16
Reply to Code Signing Error Message: HELP
Is there a reason you're not using latest Xcode 12.x? my iOS Deployment Target has been set to 9.0, so how does this 13.4 come up? 13.4 is the max iOS version Xcode 11.6 requires (no choice). 9.0 (your choice) is just the minimum...together, they result in a range of iOSs that your app is expected to support. In the mean time see if this page helps: h ttps://medium.com/codespace69/ios-xcode-code-signing-error-code-signing-is-required-for-product-type-application-in-sdk-216c1b16311e
Oct ’20
Will upgrading from XCode 14.2 work on?
My current laptop has reached its Zenith... I'm running a MacBook Pro (13-inch, 2016, Four Thunderbolt 3 Ports) with Montery 12.7.6. I can no longer upgrade the software Xcode so I'm stuck in X Code Version 14.2. I've built an app. I need to upload and push to my mobile, but I can't b/c of the old software. I've moved the files to my wife's newer MacBook, but the app doesn't work. I have no problem buying a newer Mac, I want to make sure that it will work prior to. The Apple Store couldn't help, and requested that I contact Apple Care.. which Tier 2 could not assist. If anyone is out there that can assist, I will be greatly appreciative.
3
0
86
Aug ’25
Reply to XCode 14.2 link fails with bus error: 10
I have not solved it. I had been using an older build system until recently, but have now upgraded to latest everything- Ventura 13.4.1, x-code 14.3.1. And our server is now also upgrade to Ventura, so I no longer have the option of connecting via AFP. Smaller projects build OK, but my large project stil failes with Bus error 10.
Jul ’23
Reply to iOS 13.6.1
I too am having this issue. I have rebooted the device as well as my machine. Xcode version: 11.7 (11E801a) OS: 10.15.4 (19E266) Catalina Here is the error displayed in the Devices window: The current device configuration is unsupported. This iPhone X (Model A1865, A1901, A1902,… To run on this device, please update to a version of Xcode that supports iOS 13.6.1. You can download Xcode from the Mac App Store or the Apple Developer website. In the Issue Details: Details The current device configuration is unsupported. This iPhone X (Model A1865, A1901, A1902, A1903) is running iOS 13.6.1 (17G80), which is not supported by Xcode 11.7. Domain: com.apple.dtdevicekit Code: 601 Recovery Suggestion: To run on this device, please update to a version of Xcode that supports iOS 13.6.1. You can download Xcode from the Mac App Store or the Apple Developer website. User Info: { DVTRadarComponentKey = 487927; DeviceType = iPhone10,3; }- Unable
Sep ’20
Reply to Can't change background task identifier
Here's what I did: Ran with original name. Debug commands work fine. Stopped app in xcode, and changed names (added x at end of identifier in target (replicated to Info.plist), and code Removed app from phone Shutdown phone and rebooted. Ran with new names from xcode...same problem Switched name back...runs fine.
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’24
Shared code for iOS and OS X
Hello guys, so I wanted to create one file with one class and share the code in both iOS and OS X app. The code (Swift):#if !TARGET_OS_IPHONE import Cocoa public typealias Controller1 = NSViewController #else import UIKit public typealias Controller1 = UIViewController #endifAnd when I try to build it I get No such module Cocoa and it's true, iOS have no Cocoa module. Is there any way to create a platform-depended class?
Replies
1
Boosts
0
Views
872
Activity
Nov ’15
Recently bought a Mackbook black 2009 version Mac OS X 10.6.8, nothing seems to work, i cant even download Google chrome or x code..????
Laptop details-2.4ghz500gb4gb memoryMac os x snow leopard
Replies
2
Boosts
0
Views
398
Activity
Apr ’17
Reply to [[NSUUID UUID] UUIDString] always returning nil
You probably need to provide more context and/or the code surrounding it. I tried it (Xcode 7 and 7.1 beta) on iOS app (simulator & device) and OS X app (Yosemite) and it works fine.
Replies
Boosts
Views
Activity
Oct ’15
Reply to iOS 10 backward compatibility
Xcode allows a range of iOS support (based on the iOS SDK it ships with), by setting the Deployment Target accordingly (allowing say iOS 10.x and 9.x in your example), so the general answer to your query is yes.Your framework would require coding/testing as usual to confirm either way.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’17
Sonoma/Xcode 16 Share extensions do not work
My app has extensions, including a share extension. When I upgraded to Sonoma and Xcode 16, the share extension compiles but it does not show up as an share option in any apps. The other extensions are working correctly. So I then created a blank project from scratch and created a new share extension using the included wizard. I added the appropriate extension options, and no matter what I tried, even TRUEPREDICATE, the share extension will not show. I confirmed the target deployment matches the main project and went through every possible check. No matter what I do, the share extension will not show (tested on ios 15, 16,17, and 18. I am pretty certain that there is a bug in either X code 16 or in X code 16 with Sonoma. Please verify - try to create a share extension and see if it works. Help is appreciated.
Replies
4
Boosts
0
Views
1.1k
Activity
Oct ’24
Xcode 12.4 update failed, please try again later.
This is very frustrating. After waiting for 3 hours this error shows up without telling me what is the actual problem. And not only my Xcode can't be used (it was way too outdated), now I have to wait for another 3-4 hours for the update that could potentially show this error again. A lot of my dev applications are dependant on x-code and without the updated version I can't get back to work. Is there any constructive way to fix this problem?
Replies
0
Boosts
0
Views
526
Activity
Feb ’21
Code signature invalid on Mac OS X 10.10.x
Hello everyone,I have a program signed in Sierra(10.12.1) with XCode(8.1)It was running fine on Sierra and El Capitan, however, when running on Yosemite, the app program crashed and showed the following error message:I had searched online for solutions yet however most of them all suggested to reinstall OS to solve this problemHowever, it may not be good that the users who have Yosemite installed need to reinstall their OS to use my app...Do I really have to reinstall OS or I can do something to my program to fix it?All ideas are appreciated, thanksThe message contains invalid characters.Due to annoying The message contains invalid characters. I cannot post the pull error message here...
Replies
5
Boosts
0
Views
13k
Activity
Nov ’16
Reply to How embed sqlite3 binary into my app?
I am in the first case - the sqlite3 binary is only called by my app via a BASH script by using NSTask .OK, that’s actually good news, in that there is a well understood, albeit a little complex, solution.The sqlite3 binary is a plain console program, how to entitle it?Last I checked Xcode does not display it’s user friendly code signing interface for command line tools. You will have to set up code signing via the build settings, specifically:Code Signing Entitlements (CODE_SIGN_IDENTITY)Code Signing Identity (CODE_SIGN_ENTITLEMENTS)IMPORTANT When you set up the Copy Files build phase to copy your tool into your app, make sure you copy it to the ‘executables’ directory (Contents/MacOS). See the Nested Code section in Technote 2206 OS X Code Signing In Depth for details. Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’16
Reply to Code Signing Error Message: HELP
Is there a reason you're not using latest Xcode 12.x? my iOS Deployment Target has been set to 9.0, so how does this 13.4 come up? 13.4 is the max iOS version Xcode 11.6 requires (no choice). 9.0 (your choice) is just the minimum...together, they result in a range of iOSs that your app is expected to support. In the mean time see if this page helps: h ttps://medium.com/codespace69/ios-xcode-code-signing-error-code-signing-is-required-for-product-type-application-in-sdk-216c1b16311e
Replies
Boosts
Views
Activity
Oct ’20
Will upgrading from XCode 14.2 work on?
My current laptop has reached its Zenith... I'm running a MacBook Pro (13-inch, 2016, Four Thunderbolt 3 Ports) with Montery 12.7.6. I can no longer upgrade the software Xcode so I'm stuck in X Code Version 14.2. I've built an app. I need to upload and push to my mobile, but I can't b/c of the old software. I've moved the files to my wife's newer MacBook, but the app doesn't work. I have no problem buying a newer Mac, I want to make sure that it will work prior to. The Apple Store couldn't help, and requested that I contact Apple Care.. which Tier 2 could not assist. If anyone is out there that can assist, I will be greatly appreciative.
Replies
3
Boosts
0
Views
86
Activity
Aug ’25
Reply to XCode 14.2 link fails with bus error: 10
I have not solved it. I had been using an older build system until recently, but have now upgraded to latest everything- Ventura 13.4.1, x-code 14.3.1. And our server is now also upgrade to Ventura, so I no longer have the option of connecting via AFP. Smaller projects build OK, but my large project stil failes with Bus error 10.
Replies
Boosts
Views
Activity
Jul ’23
Xcode 8.3.2 and xcode server
Running Sierra, current latest and Server current latest. Running xcode 8.3.1 with xcode server OK. Upgrade xcode to 8.3.2 and message is cannot be used with xcode server. Is downgrading the only option?TIA
Replies
2
Boosts
0
Views
671
Activity
Apr ’17
Reply to iOS 13.6.1
I too am having this issue. I have rebooted the device as well as my machine. Xcode version: 11.7 (11E801a) OS: 10.15.4 (19E266) Catalina Here is the error displayed in the Devices window: The current device configuration is unsupported. This iPhone X (Model A1865, A1901, A1902,… To run on this device, please update to a version of Xcode that supports iOS 13.6.1. You can download Xcode from the Mac App Store or the Apple Developer website. In the Issue Details: Details The current device configuration is unsupported. This iPhone X (Model A1865, A1901, A1902, A1903) is running iOS 13.6.1 (17G80), which is not supported by Xcode 11.7. Domain: com.apple.dtdevicekit Code: 601 Recovery Suggestion: To run on this device, please update to a version of Xcode that supports iOS 13.6.1. You can download Xcode from the Mac App Store or the Apple Developer website. User Info: { DVTRadarComponentKey = 487927; DeviceType = iPhone10,3; }- Unable
Replies
Boosts
Views
Activity
Sep ’20
Reply to problem mixing pipelines with different number of vertex streams (OS X only)
I was able to reproduce the problem in a simple stand-alone project based on the OS X 'Game' template in Xcode so I'm pretty confident this is not some bug in my original code or data. I've uploaded it to the bug report.
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to Can't change background task identifier
Here's what I did: Ran with original name. Debug commands work fine. Stopped app in xcode, and changed names (added x at end of identifier in target (replicated to Info.plist), and code Removed app from phone Shutdown phone and rebooted. Ran with new names from xcode...same problem Switched name back...runs fine.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’24