je suis tombé sur cette erreur lors de la construction de mon code avec CLANG:Clang donnant des erreurs se plaignent de fichier d'en-tête défectueux UILocalizedIndexedCollation.h
In file included from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:31, from /Users/waspfish/Documents/NanaimoStudio/Projects/iPhoneMonk/Projects/IdeaOrganizer/IdeaOrganizer_Prefix.pch:13, from :1: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h:13: error: syntax error before ‘AT_NAME’ token /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h:21: error: syntax error before ‘}’ token /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h:23: fatal error: method definition not in @implementation context compilation terminated. {standard input}:32:FATAL:.abort detected. Assembly stopping.
J'ai fini par exclure la UILocalizedIndexedCollation.h de UIKit.h et construit tout bien. Une idée de ce qui aurait pu causer le problème? Je ne peux pas imaginer Apple envoie un fichier d'en-tête défectueux.
Cela a tout arrangé pour moi. Merci! – bbrown
Bon travail Ça marche aussi pour moi. – harshalb
Cela fonctionne pour moi !! Merci. – Jirapong