Search results for

“Xcode”

93,873 results found

Post

Replies

Boosts

Views

Activity

Reply to Nuovo
hello I'm new on x-code, and I wanted to ask if you could make a program in c and c ++ and run it with the compiler and the simulator which is mainly used for programs in Objective-c and Swif for ios 11 and following.Thank you.
Jun ’18
Reply to Digital signing in objective-c using xcode 3.2.5
I am new to the xcode and also in MAC envronment. I want to know what are the API or methods used for Digital Signing in objective-c using xcode 3.2.5.Xcode 3.2.5? Really?That version of Xcode is very old. What version of OS X are you running it on?With regards signing, there's a specific issue at play. IIRC Xcode 3.2 is for Mac OS X 10.6, and the API you want to use (SecSignTransformCreate) was introduced in OS X 10.7. If you really are stuck on 10.6 then you'll have to use the much older CDSA APIs. These are long-since deprecated, so there's not a lot of information about how to use them. Specifically, I can't help you with them because I never got around to learning them myself. Moreover, I can't recommend that you write new code that targets these APIs because, well, they're deprecated. If there's any chance you can upgrade to OS X 10.7 and Xcode 4.x, the situation will be a lot clearer. Here you'll
Topic: Programming Languages SubTopic: General Tags:
Jul ’15
Reply to bricked
Try a different USB port each time. And, you might try opening x code to see if the phone shows up in devices and restore it from there . Have you also tried holding the power and home button together for 5 seconds?
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Older versions of Xcode, iOS and SWIFT
There are Swift migrators, but you'll need to climb the ladder if you want to leverage them.Might not be worth the trouble at this point, tho.See the Xcode wiki to study what needs what, tool wise.Basically you'd migrate from Swift 2 to Swift 3 using Xcode 8.x (which won't run on Mojave), then from Swift 3 to Swift 4 using Xcode 9.x, then you can move to Xcode 10.x. Note that migration doesn't necessarily mean clean steps, leaving you to fix whatever the migration tools can't.See these threads:https://stackoverflow.com/questions/44405819/code-migration-from-swift-2-x-to-swift-4https://forums.developer.apple.com/thread/106262You can also expect to deal with a raft of deprecated code. All in all there is no simple answer to your questions as the details depend entirely on your app and your skills.Good luck.
Feb ’19
Reply to Auto generate swift protocol placeholders in implementation class
Below is an example of the Xcode feature I was thinking of.protocol SomeProto { func returnInt() -> Int func returnString() -> String func returnValueType() -> CGRect func returnADT() -> [String] func returnOptionalClass() -> NSDateFormatter? func returnClass() -> NSDateFormatter}X-Code would complain it does not conform to protocol)class SomeProtoImpl : SomeProto {}Using Xcode new Fix-it feature it would generate default(dummy) implementations as depcitedbelow of the required protocol functions making SomeProtoImpl compile and then you replacethe dummy logic with the actual logic you would like to implement.class SomeProtoImpl : SomeProto { func returnInt() -> Int { return 0 } func returnString() -> String { return } func returnValueType() -> CGRect {return CGRectZero} func returnADT() -> [String] { return []} func returnOptionalClass() -> NSDateFormatter? { return nil} func returnClass() -> NSDateFormatter { return NSDateFormatter() }}
Jun ’15
Reply to ITMS-90034: Missing or invalid signature
Perhaps the fix has been implemented in Xcode 12.5 Beta 3: Resolved Issues Fixed an issue that caused OS X 10.11 and earlier to reject packages signed on OS X 10.11 and earlier. (71695608) Known Issues OS X 10.11 and earlier may reject code signatures added to universal binaries by Xcode 12.5. (70724583) (FB8830007) Workaround: Specify --digest-algorithm=sha1,sha256 to the codesign utility at signing time. In Xcode, specify this using the OTHER_CODE_SIGN_FLAGS build setting.
Topic: Code Signing SubTopic: General Tags:
Mar ’21
Reply to Nuovo
hello I'm new on x-code, and I wanted to ask if you could make a program in c and c ++ and run it with the compiler and the simulator which is mainly used for programs in Objective-c and Swif for ios 11 and following.Thank you.
Replies
Boosts
Views
Activity
Jun ’18
Reply to WKWebView Using Custom DNS
No dear Eskimo, I'm not using MDM - it's just manual installation of the app using X-Code. We're not all using the same router and would like this to also work outdoors.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to NavigationLink init(_:destination:) deprecated
I tried your code with Xcode 12.5.1 and it shows the same error. And trying with Xcode 13.1, it compiles without any problems. I'm not sure what is causing this issue, but until the problem is solved, you may need to use Xcode 13.x .
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Digital signing in objective-c using xcode 3.2.5
I am new to the xcode and also in MAC envronment. I want to know what are the API or methods used for Digital Signing in objective-c using xcode 3.2.5.Xcode 3.2.5? Really?That version of Xcode is very old. What version of OS X are you running it on?With regards signing, there's a specific issue at play. IIRC Xcode 3.2 is for Mac OS X 10.6, and the API you want to use (SecSignTransformCreate) was introduced in OS X 10.7. If you really are stuck on 10.6 then you'll have to use the much older CDSA APIs. These are long-since deprecated, so there's not a lot of information about how to use them. Specifically, I can't help you with them because I never got around to learning them myself. Moreover, I can't recommend that you write new code that targets these APIs because, well, they're deprecated. If there's any chance you can upgrade to OS X 10.7 and Xcode 4.x, the situation will be a lot clearer. Here you'll
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’15
Reply to ERROR ITMS-90502: "Invalid Bundle. Apps that only contain the arm64 slice must also have 'arm64' in the list of UIRequiredDeviceCapabilities in Info.plist."
Just to follow up. I tried everything and nothing worked. I think I went back to the old plist set up and then when the official X code 9 went Gold it worked. So it was something on Apple's end.
Replies
Boosts
Views
Activity
Oct ’17
Is Macbook Pro 2020 intel i5 8gb good for mobile programming? (X-Code and Android Studio)
Hello there, i am considering to buy a macbook pro, is Macbook Pro 2020 intel i5 8gb version, is it powerful enough?
Replies
3
Boosts
0
Views
1.4k
Activity
Mar ’22
Reply to bricked
Try a different USB port each time. And, you might try opening x code to see if the phone shows up in devices and restore it from there . Have you also tried holding the power and home button together for 5 seconds?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to Writing to Label from Gesture function
I can't see anything wrong with your code. It seems you are using Swift 1.x instead of 2. Have you tried the code with Xcode 7 and Swift 2?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to testmanagerd constantly requests password to enable UI Automation on macOS Monterey
I execute this command on host machine which is wirelessly connected to X code. automationmodetool enable-automationmode-without-authentication but I still get this exception Underlying Error: Timed out while enabling automation mode. Am I doing something wrong?
Replies
Boosts
Views
Activity
Mar ’22
Reply to Black launch screen after a few launches, first launch fine
(2 x home button, swipe up, then Step over in Xcode to finish it)Why do you have to Step over in Xcode?When I kill my app this way, the code simply runs as expected with no interaction required.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Dec ’15
Reply to Issue with SceneStorage in ViewModifer, but not in View
With the same code, the warning is gone in Xcode 15.4, where I target x.5 releases of iOS and macOS.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Warnings creating dSYM in Xcode beta 6
How recently did this start? Did you recently modify an important part of your code or change some configuration or update Xcode or OS X?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to Older versions of Xcode, iOS and SWIFT
There are Swift migrators, but you'll need to climb the ladder if you want to leverage them.Might not be worth the trouble at this point, tho.See the Xcode wiki to study what needs what, tool wise.Basically you'd migrate from Swift 2 to Swift 3 using Xcode 8.x (which won't run on Mojave), then from Swift 3 to Swift 4 using Xcode 9.x, then you can move to Xcode 10.x. Note that migration doesn't necessarily mean clean steps, leaving you to fix whatever the migration tools can't.See these threads:https://stackoverflow.com/questions/44405819/code-migration-from-swift-2-x-to-swift-4https://forums.developer.apple.com/thread/106262You can also expect to deal with a raft of deprecated code. All in all there is no simple answer to your questions as the details depend entirely on your app and your skills.Good luck.
Replies
Boosts
Views
Activity
Feb ’19
Reply to Auto generate swift protocol placeholders in implementation class
Below is an example of the Xcode feature I was thinking of.protocol SomeProto { func returnInt() -> Int func returnString() -> String func returnValueType() -> CGRect func returnADT() -> [String] func returnOptionalClass() -> NSDateFormatter? func returnClass() -> NSDateFormatter}X-Code would complain it does not conform to protocol)class SomeProtoImpl : SomeProto {}Using Xcode new Fix-it feature it would generate default(dummy) implementations as depcitedbelow of the required protocol functions making SomeProtoImpl compile and then you replacethe dummy logic with the actual logic you would like to implement.class SomeProtoImpl : SomeProto { func returnInt() -> Int { return 0 } func returnString() -> String { return } func returnValueType() -> CGRect {return CGRectZero} func returnADT() -> [String] { return []} func returnOptionalClass() -> NSDateFormatter? { return nil} func returnClass() -> NSDateFormatter { return NSDateFormatter() }}
Replies
Boosts
Views
Activity
Jun ’15
Reply to ITMS-90034: Missing or invalid signature
Perhaps the fix has been implemented in Xcode 12.5 Beta 3: Resolved Issues Fixed an issue that caused OS X 10.11 and earlier to reject packages signed on OS X 10.11 and earlier. (71695608) Known Issues OS X 10.11 and earlier may reject code signatures added to universal binaries by Xcode 12.5. (70724583) (FB8830007) Workaround: Specify --digest-algorithm=sha1,sha256 to the codesign utility at signing time. In Xcode, specify this using the OTHER_CODE_SIGN_FLAGS build setting.
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’21