Search results for

Xcode

92,297 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 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 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 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