Search results for

Building for iOS Simulator, but the linked and embedded framework ‘XX.framework‘ was built for

186,353 results found

Post

Replies

Boosts

Views

Activity

[NSObject init] vs NS_DESIGNATED_INITIALIZER
Just started building my app with 10.11 SDK and am getting a lot of warnings on classes where I have explicitly set NS_DESIGNATED_INITIALIZER where init is not one of them.E.g@interface MCChecksumAccumulator : NSObjecttypedef NS_OPTIONS(NSInteger, MCWantedChecksums){........};/- (instancetype)initWithWantedChecksums:(MCWantedChecksums)wanted NS_DESIGNATED_INITIALIZER;@end@implementation MCChecksumAccumulator <<<< Method override for the designated initializer of the superclass '-init' not found- (instancetype)initWithWantedChecksums:(MCWantedChecksums)wanted{...}@endIf I remove the NS_DESIGNATED_INITIALIZER from initWithWantedChecksums: then the warning goes away. But I've done this explicitly to prevent people trying to use init on this class directly.Looking at NSObject I see:- (instancetype)init#if NS_ENFORCE_NSOBJECT_DESIGNATED_INITIALIZER NS_DESIGNATED_INITIALIZER#endif ;and NS_ENFORCE_NSOBJECT_DESIGNATED_INITIALIZER is declared as:/ NS_ENFORCE_NSOBJECT_DESIGNATED_INITIALIZER == 1* m
1
0
2.3k
Jun ’15
Update Stuck on "Checking for Update..."
Is anyone else having trouble updating their Watch to Watch OS 2 beta? I'm currently stuck on the step where you need to actually update the Watch's software. When I go to the Apple Watch app on the iPhone, then General, then Software Update, it displays Checking for Update... and has been doing so for at least 30 minutes. I thought my corporate filter might be blocking the download, so I went on 4G, but it's still happening. I've tried restarting both the Watch and my iPhone, which is running iOS 9 beta, to no avail.I've followed all the steps in the installation guide up until this point, and I'm pretty stuck. Any thoughts would be greatly appreciated!
2
0
2.6k
Jun ’15
Reply to iOS 9 Beta battery life
your watch battery is also effected because iOS 9 on iPhone?Apple must fix the battery issue ASAP. I know, that is a beta, but this problem is heavy. Apple please roll out the beta 2 with a battery fix. than we can focus on our apps...
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
TLS PSK with NSURLConnection
Is it possible to TLS PSK ciphers with NSURLConnection/NSURLSession?iOS's SSLGetSupportedCiphers method reports that is supports TLS_PSK_AES256_SHA384.I initially considered that it may be possible by providing the correct NSURLCredential, however it's unclear how I could do this while also providing an PSK hint/Identity.Thanks
2
0
720
Jun ’15
ld: warning: directory not found
After upgrading an existing swift project I am seeing the following warning when it builds the tests:ld: warning: directory not found for option '-F/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/Developer/Library/Frameworks'That directory does not exist.. should it be looking for SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks?Is this something that needs fixing within my project files/build settings/etc?
10
0
23k
Jun ’15
Swift build error: "SIL verification failed: non-generic function definitions cannot have context archetypes"
I'm getting the following error while compiling a generic class. Can anyone tell me what I'm doing wrong?SIL verification failed: non-generic function definitions cannot have context archetypes: !FTy->isPolymorphic() In function: / sil shared [transparent] [thunk] @_TTRGRq_8RealmKit18IdentifiableStruct_XFo_dV10ObjectiveC8ObjCBool_dT__XFo_dSb_dT__ : $@convention(thin) <τ_0_0 where τ_0_0 : IdentifiableStruct> (Bool, @owned @callee_owned (ObjCBool) -> ()) -> () { bb0(%0 : $Bool, %1 : $@callee_owned (ObjCBool) -> ()): / %2 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool / %3 = apply %2(%0) : $@convention(thin) (Bool) -> ObjCBool / %4 = apply %1(%3) : $@callee_owned (ObjCBool) -> () / return %4 : $() / } 0 swift 0x0000000107ae3e0b llvm::sys::PrintStackTrace(__sFILE*) + 43 1 swift 0x0000000107ae454b SignalHandler(int) + 379 2 libsystem_platform.dylib 0x00007fff93ae3f1a _sigtramp + 26 3 libsystem_platform.dylib 0x00000000000000
1
0
740
Jun ’15