2015-07-02 16 views

risposta

1

Probabilmente si sta compilando AppDelegate nel vostro target di test. Non farlo.

Invece, compilare solo il target di app normale MyAppName. In classe si prova a scrivere in XCode 7

@testable import MyAppName 

e prima di XCode 7

import MyAppName 
+0

scrivendo "MyAppName importazione @testable" nella mia classe di test mi dà questo errore: Unknown attributo 'verificabile' – Mohammed

+0

Allora don usare XCode 7. Prima che XCode 7 rimuova '@testable'. –

+0

che non ha funzionato, anche – Mohammed

Problemi correlati