Ho provato ad aggiungere un target di test su Xcode 5 utilizzando il comando Aggiungi target -> Aggiungi gruppo di test Cocoa Touch Unit. Tuttavia, quando si esegue il test, ottengo il seguente errore:Xcode 5 genera l'errore "Libreria non caricata" quando si aggiunge un target di test
2013-09-24 10:43:14.446 Stack Exchange[48895:c07] Error loading /Users/arielitovsky/Library/Developer/Xcode/DerivedData/MyApp-fjegcztcnwxqdfdimhonqzzqpdwr/Build/Products/Debug-iphonesimulator/Stack Exchange Tests.xctest/Stack Exchange Tests: dlopen(/Users/arielitovsky/Library/Developer/Xcode/DerivedData/MyApp-fjegcztcnwxqdfdimhonqzzqpdwr/Build/Products/Debug-iphonesimulator/Stack Exchange Tests.xctest/Stack Exchange Tests, 262): Library not loaded: /Developer/Library/Frameworks/XCTest.framework/XCTest Referenced from: /Users/arielitovsky/Library/Developer/Xcode/DerivedData/MyApp-fjegcztcnwxqdfdimhonqzzqpdwr/Build/Products/Debug-iphonesimulator/Stack Exchange Tests.xctest/Stack Exchange Tests Reason: image not found IDEBundleInjection.c: Error loading bundle '/Users/arielitovsky/Library/Developer/Xcode/DerivedData/MyApp-fjegcztcnwxqdfdimhonqzzqpdwr/Build/Products/Debug-iphonesimulator/Stack Exchange Tests.xctest' Program ended with exit code: 0
Perché non è questo lavoro?
Hai appena fatto la mia giornata. – shawnwall
felice di poter aiutare :) Penso che alla fine capiterà a qualcuno –
Grande tutto viene compilato e ora funziona, tranne che i miei test XCTest non sembrano funzionare. I triangoli verdi accanto ai test OCUnit sono vuoti accanto ai test XCTest. –