2015-09-12 8 views
5

मैं Xcode प्लगइन बनाना चाहते हैं, और मैं इस्केप फ्रॉम Xcode Plugin Template चुनते हैं, तो मैं परियोजना Podfile खुला कार्यक्षेत्र जोड़ सकते हैं और निर्माण करने के लिए हर बार कोशिश मैं ऐन त्रुटि मिलती बंद:Xcode प्लगइन टेम्पलेट cocoapods

ld: library not found for -lDTXcodeUtils 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

यहाँ एक है पूर्ण आउटपुट:

Ld /Users/jakubmazur/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/CreateFilesPlugin.xcplugin/Contents/MacOS/CreateFilesPlugin normal x86_64 cd /Users/jakubmazur/Developer/CreateFilesPlugin export MACOSX_DEPLOYMENT_TARGET=10.10 /Users/jakubmazur/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -bundle -isysroot /Users/jakubmazur/Desktop/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -L/Users/jakubmazur/Library/Developer/Xcode/DerivedData/CreateFilesPlugin-dmzpluimftctcqhbkndjiknqtjnz/Build/Products/Debug -F/Users/jakubmazur/Library/Developer/Xcode/DerivedData/CreateFilesPlugin-dmzpluimftctcqhbkndjiknqtjnz/Build/Products/Debug -filelist /Users/jakubmazur/Library/Developer/Xcode/DerivedData/CreateFilesPlugin-dmzpluimftctcqhbkndjiknqtjnz/Build/Intermediates/CreateFilesPlugin.build/Debug/CreateFilesPlugin.build/Objects-normal/x86_64/CreateFilesPlugin.LinkFileList -mmacosx-version-min=10.10 -ObjC -lDTXcodeUtils -lXcodeEditor -fobjc-arc -fobjc-link-runtime -framework AppKit -framework Foundation -lPods -Xlinker -dependency_info -Xlinker /Users/jakubmazur/Library/Developer/Xcode/DerivedData/CreateFilesPlugin-dmzpluimftctcqhbkndjiknqtjnz/Build/Intermediates/CreateFilesPlugin.build/Debug/CreateFilesPlugin.build/Objects-normal/x86_64/CreateFilesPlugin_dependency_info.dat -o /Users/jakubmazur/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/CreateFilesPlugin.xcplugin/Contents/MacOS/CreateFilesPlugin

ld: library not found for -lDTXcodeUtils clang: error: linker command failed with exit code 1 (use -v to see invocation)

कोई विचार मुझे यह करने के लिए क्या करना चाहिए?

Podfile:

source 'https://github.com/CocoaPods/Specs.git' 
platform :osx 

pod "DTXcodeUtils" 
+0

आप अपने फली कल्पना पोस्ट कर सके पता चलता है? – Loegic

+0

मैं एक प्रश्न के लिए Podfile जोड़ें – Kuba

+0

पॉड इंस्टॉल कमांड सफल था? क्या आपने एक्सकोड में गहरी साफ करने की कोशिश की? – Loegic

उत्तर

2

निम्न चरणों का पालन करें। यह चारों ओर एक काम है।

  1. सभी योजना निकालें और ऑटो योजनाओं को बनाने पर क्लिक करके जोड़ा। (फली योजनाओं की जाँच की जाएगी एक बार अपनी निर्मित, यह काम करने के लिए जाँच की आवश्यकता है)।
  2. फिर प्रतिलिपि बंडल संसाधनों से योजना फ़ाइल को हटाएं (क्या यह एक त्रुटि दिखाता है)।
  3. दीप स्वच्छ और मेरे लिए किसी भी त्रुटि के बिना

इसकी इमारत चलाने के लिए, सुनिश्चित नहीं हूं कि यह किसी भी रन टाइम त्रुटियों/अपवाद

संबंधित मुद्दे