Probleme de deploiement et simulateur sur iOS 5.1
Am_Me
Membre
Voila le titre est assez explicite je pense donc mon probleme est que mon application ne demarre pas sur iOS 5.1 que ce soit iPhone ou Simulateur.
Donc j'ai une liste d'erreur assez sympa
J'ai change le deployement target pour ioS 5.1 mais quand je vais sur MonProjet> Build Settings et que je veut modifier la baseSdk je ne trouve pas la sdk iOS5
2013-05-21 10:01:24.996 rapmat.temp_caseinsensitive_rename[12746:1b03] Error loading /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn: dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn, 262): Symbol not found: ___CFObjCIsCollectable
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
in /System/Library/Frameworks/Security.framework/Versions/A/Security
2013-05-21 10:01:25.002 rapmat.temp_caseinsensitive_rename[12746:1b03] Error loading /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn: dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn, 262): Symbol not found: ___CFObjCIsCollectable
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
in /System/Library/Frameworks/Security.framework/Versions/A/Security
2013-05-21 10:01:25.015 rapmat.temp_caseinsensitive_rename[12746:1b03] Error loading /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn: dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn, 262): Symbol not found: ___CFObjCIsCollectable
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
in /System/Library/Frameworks/Security.framework/Versions/A/Security
2013-05-21 10:01:25.021 rapmat.temp_caseinsensitive_rename[12746:1b03] Error loading /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn: dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn, 262): Symbol not found: ___CFObjCIsCollectable
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
in /System/Library/Frameworks/Security.framework/Versions/A/Security
2013-05-21 10:01:25.033 rapmat.temp_caseinsensitive_rename[12746:1b03] Error loading /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn: dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn, 262): Symbol not found: ___CFObjCIsCollectable
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
in /System/Library/Frameworks/Security.framework/Versions/A/Security
2013-05-21 10:01:25.039 rapmat.temp_caseinsensitive_rename[12746:1b03] Error loading /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn: dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn, 262): Symbol not found: ___CFObjCIsCollectable
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
in /System/Library/Frameworks/Security.framework/Versions/A/Security
2013-05-21 10:01:25.067 rapmat.temp_caseinsensitive_rename[12746:c07] *** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named NSLayoutConstraint'
*** First throw call stack:
(0x5e6022 0x181ecd6 0x58ea48 0x58e9b9 0xa9e4a3 0xa9e67b 0xa9e383 0x99e16d 0x8441fc 0x844779 0x84499b 0x843fec 0x86af1d 0x8551cb 0x86bdf1 0x86be0d 0x86bea9 0x7aa6f5 0x7aa73c 0x77b596 0x77c274 0x78b183 0x78bc38 0x77f634 0x22f8ef5 0x5ba195 0x51eff2 0x51d8da 0x51cd84 0x51cc9b 0x77bc65 0x77d626 0xb00d 0x2be5)
terminate called throwing an exception
J'espere que quelqu'un a deja eu ce probleme je suis sur Xcode 4.6.1
Connectez-vous ou Inscrivez-vous pour répondre.
Réponses
L'autolayout (et donc la classe NSLayoutConstraint) n'est disponible que depuis iOS 6.
Décoche "Use autolayout" dans tous les XIB de ton projet.
merci J'ai fait ce que tu m'a demande MAIS j'ai toujours l'erreur il me semble que c'est la meme erreur
voici ce que j'ai change
Il semble qu'il y ait un problème avec Security.framework. Essaie de la retirer du projet et de la remettre.
Alors cool ca demarre mais des que j'appui sur un bouton j'ai une erreur plus petite :
2013-05-21 12:08:55.621 rapmat[15628:c07] *** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named NSLayoutConstraint'
*** First throw call stack:
(0x34a022 0x1809cd6 0x2f2a48 0x2f29b9 0xc8d4a3 0xc8d67b 0xc8d383 0xb8d16d 0xa331fc 0xa33779 0xa3399b 0x1ab3b 0x12d50 0x34be99 0x96f14e 0x96f0e6 0xa15ade 0xa15fa7 0xa15266 0x9943c0 0x9945e6 0x97adc4 0x96e634 0x3163ef5 0x31e195 0x282ff2 0x2818da 0x280d84 0x280c9b 0x31627d8 0x316288a 0x96c626 0xc05d 0x2ac5)
terminate called throwing an exception(lldb)
Et je rajoute ca En fait j'ai une classe qui custom ( pas francais desole) des boutons, il n'aime pas trop les restauration identifier
2013-05-21 12:10:17.450 rapmat[15651:c07] -[QBFlatButton restorationIdentifier]: unrecognized selector sent to instance 0x823f6a0
Et si je change le restauration identifer au defaul en gros UIbutton ca me met la meme erreur mais pour UIRoundedRectButton
MAJ : Les boutons qui ont un restoration identifier me font des exceptions ca ne vient pas de la classe qui cutom les boutons
Bon bah va falloir que je trouve un autre moyen d'utiliser restorationIdentifier
MAIS mes element sont mal places du coup ca change beaucoup !!! J'ai une toolbar qui disparait les boutons se recolle
C'est moche !!