Apple Mach o Linker Ошибка при создании базового плагина AI CC

там совсем нет. вопрос по этому вопросу. Но никто из них не может направить решение моей проблемы. я пытаюсь создать плагин для Adobe Illustrator CC в Версия XCode 6.3.2 (6D2105). Следуя их официальным рекомендациям, создайте основной плагин «HelloWorld», сообщающий об ошибке компоновщика.
Ошибка:

Ld /Users/Barun/Adobe\ Illustrator\ CC\ 2015\ SDK/samplecode/output/mac/debug/HelloWorld.bundle/Contents/MacOS/HelloWorld normal x86_64
cd "/Users/Barun/Adobe Illustrator CC 2015 SDK/samplecode/HelloWorld"export MACOSX_DEPLOYMENT_TARGET=10.9
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -L/Users/Barun/Adobe\ Illustrator\ CC\ 2015\ SDK/samplecode/output/mac/debug -F/Users/Barun/Adobe\ Illustrator\ CC\ 2015\ SDK/samplecode/output/mac/debug -filelist /Users/Barun/Library/Developer/Xcode/DerivedData/HelloWorld-fzhjlvdzxxobzagznysauclanlgg/Build/Intermediates/HelloWorld.build/Debug/HelloWorld.build/Objects-normal/x86_64/HelloWorld.LinkFileList -mmacosx-version-min=10.9 -dead_strip -stdlib=libc++ -Xlinker -dependency_info -Xlinker /Users/Barun/Library/Developer/Xcode/DerivedData/HelloWorld-fzhjlvdzxxobzagznysauclanlgg/Build/Intermediates/HelloWorld.build/Debug/HelloWorld.build/Objects-normal/x86_64/HelloWorld_dependency_info.dat -o /Users/Barun/Adobe\ Illustrator\ CC\ 2015\ SDK/samplecode/output/mac/debug/HelloWorld.bundle/Contents/MacOS/HelloWorld

Undefined symbols for architecture x86_64:
"_CFStringCreateWithCharacters", referenced from:
ai::UnicodeString::as_CFString(__CFAllocator const*) const in IAIUnicodeString.o
"_CFStringGetCharactersPtr", referenced from:
ai::UnicodeString::UnicodeString(__CFString const* const&) in IAIUnicodeString.o
"_CFStringGetLength", referenced from:
ai::UnicodeString::UnicodeString(__CFString const* const&) in IAIUnicodeString.o
"_CFStringGetCharacters", referenced from:
ai::UnicodeString::UnicodeString(__CFString const* const&) in IAIUnicodeString.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Похоже, ошибка компоновки происходит из файла IAIUnicodeString.cpp, который является файлом поддержки, предоставляемым SDK. Так что я понятия не имею, что нужно изменить там.

Мне удалось построить FreeGrid а также DrawArt Проект поставляется с SDK в качестве образца. Я также проверил все настройки сборки с FreeGrid к моему Привет, мир Проект, нет несоответствия с этой стороны тоже.

Проект проекта можно найти в Github.

1

Решение

Из Adobe Forum https://forums.adobe.com/message/7723859#7723859:

Добавить в настройки проекта:

BuildPhases> Связать двоичные файлы с библиотеками: CoreFoundation.framework

0

Другие решения


По вопросам рекламы ammmcru@yandex.ru
Adblock
detector