Xcode simülatör kullanmama izin vermiyor


0

Xcode uygulamaları oluşturmak için simülatör kullanmama izin vermiyor. Silmeyi ve yeniden indirmeyi denedim ve hala aynı sorun var: Çıkış Kodu 1 ile başarısız oldu. Birkaç hafta önce iOS 12 ve Swift için bir bootcamp başlattım, bu yüzden hala çoğu şeyi çözüyorum. Bunu düzeltmek için ne yapmam gerekiyor?

CopySwiftLibs

/Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse\ Mythology.app (in target: Norse Mythology)
    cd /Users/Zike/Library/Autosave\ Information/Norse\ Mythology
    export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
    export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
    export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk
    builtin-swiftStdLibTool --copy --verbose --sign 1BB855B5EC2A7454DBE0F820EE93868FB82CABB7 --scan-executable /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse\ Mythology.app/Norse\ Mythology --scan-folder /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse\ Mythology.app/Frameworks --scan-folder /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse\ Mythology.app/PlugIns --platform iphoneos --toolchain /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --destination /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse\ Mythology.app/Frameworks --strip-bitcode --resource-destination /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse\ Mythology.app --resource-library libswiftRemoteMirror.dylib --strip-bitcode-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip --emit-dependency-info /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Intermediates.noindex/Norse\ Mythology.build/Debug-iphoneos/Norse\ Mythology.build/SwiftStdLibToolInputDependencies.dep

Requested Swift ABI version based on scanned binaries: 6
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftDarwin.dylib to /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftDarwin.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftDarwin.dylib -r -o /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftDarwin.dylib
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftMetal.dylib to /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftMetal.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftMetal.dylib -r -o /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftMetal.dylib
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftos.dylib to /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftos.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftos.dylib -r -o /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftos.dylib
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftCore.dylib to /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftCore.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftCore.dylib -r -o /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftCore.dylib
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftCoreImage.dylib to /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftCoreImage.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftCoreImage.dylib -r -o /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftCoreImage.dylib
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftCoreFoundation.dylib to /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftCoreFoundation.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftCoreFoundation.dylib -r -o /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftCoreFoundation.dylib
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftUIKit.dylib to /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftUIKit.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftUIKit.dylib -r -o /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftUIKit.dylib
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftSwiftOnoneSupport.dylib to /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftSwiftOnoneSupport.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftSwiftOnoneSupport.dylib -r -o /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftSwiftOnoneSupport.dylib
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftQuartzCore.dylib to /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftQuartzCore.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftQuartzCore.dylib -r -o /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftQuartzCore.dylib
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftObjectiveC.dylib to /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftObjectiveC.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftObjectiveC.dylib -r -o /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftObjectiveC.dylib
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftDispatch.dylib to /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftDispatch.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftDispatch.dylib -r -o /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftDispatch.dylib
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftCoreGraphics.dylib to /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftCoreGraphics.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftCoreGraphics.dylib -r -o /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftCoreGraphics.dylib
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftFoundation.dylib to /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftFoundation.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftFoundation.dylib -r -o /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftFoundation.dylib
Copying /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftRemoteMirror.dylib to /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/libswiftRemoteMirror.dylib
Probing signature of /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftDarwin.dylib
/usr/bin/codesign -r- --display /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftDarwin.dylib
/Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftDarwin.dylib: code object is not signed at all

Codesigning /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftDarwin.dylib
/usr/bin/codesign --force --sign 1BB855B5EC2A7454DBE0F820EE93868FB82CABB7 --verbose /Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftDarwin.dylib
/Users/Zike/Library/Developer/Xcode/DerivedData/Norse_Mythology-ayyvdkolhkmofsczhivtkebjinmx/Build/Products/Debug-iphoneos/Norse Mythology.app/Frameworks/libswiftDarwin.dylib: errSecInternalComponent

hata: Çıkış kodu 1 ile başarısız oldu.


Farklı sormaya hoş geldiniz. Bu çıktı ne? Derived Data klasörünüzü temizlemeyi denediniz mi? "LibswiftDarwin.dylib: errSecInternalComponent" gibi görünüyor.
fsb

İşe yaradı, çok teşekkürler. Tamamen nasıl olduğunu ve neden buna neden olduğunu tam olarak anlamadım.
Mitchell F

İşe yaradığı için memnunum. Böyle garip şeyler olduğunda, yaptığım ilk şey o klasörü temizlemektir. Bunu bir cevap olarak ekleyeceğim, böylece kabul edebilirsin. Bu, benzer bir problemi olabilecek diğer insanlara yardımcı olacaktır.
fsb

Yanıtlar:


0

Genellikle, bunun gibi sorunlar, Derived Data klasörünün içeriğinin silinmesiyle (silinerek) çözülebilir.

Kaynak :

Xcode önbelleği elle nasıl temizlenir

1. Yapıyı temizleyin

İpucu: Xcode kilitlemeyle ilgili bir sorunu gidermeye çalışıyorsanız, önce proje yapısını temizlemeye değer. Bu, geçerli derlemeden kurtulur ve bir dahaki sefer kodu çalıştırdığınızda yeni bir tane oluşturur.

  1. Proje kod açıkken, menü çubuğuna gidin, Product -> Clean veya:
  2. Proje açıkken, tuşuna basın. komuta + vardiya + K .

2. Derleme klasörünü temizleyin

Yapı klasörünü temizlemek ve önbellek dosyalarından kurtulmak için aşağıdakileri yapın:

  1. Kod projesinde basılı tutarken Ürün menüsüne tıklayın seçenek ve Seç Clean build folderveya:
  2. Basın komuta + vardiya + seçenek + K .

3. Simülatör içeriğini ve ayarlarını sıfırla

Yukarıdaki adımlardan hiçbiri sorununuzu çözmezse, simülatör içeriğini ve ayarlarını sıfırlamayı deneyin:

Menüye gidin ve seçin iOS Simulator, ardından Tamam Reset Content and Settings.

4. Türetilmiş verileri silin

Hala sorun yaşıyorsanız, bir sonraki çalıştırmada Xcode'u yeniden oluşturmaya zorlayacak türetilmiş verileri silmeyi deneyin.

  1. Menüden seçin Window -> Organizer.
  2. Şimdi seç Projects -> Select your project.
  3. Türetilmiş verilerini silmek istediğiniz projeyi seçin.
  4. Açılan pencerede, Finder yolu ile birlikte listelenen Derived Data klasörünü göreceksiniz.
  5. Klasörün sağında Delete buton. Bas.

Şimdi modül önbelleğini silin.

  1. Git: ~/Library/Developer/Xcode/DerivedData/ModuleCache.
  2. Dosyaları ModuleCache klasöründen Çöp Kutusuna sürükleyin ve boşaltın.
Sitemizi kullandığınızda şunları okuyup anladığınızı kabul etmiş olursunuz: Çerez Politikası ve Gizlilik Politikası.
Licensed under cc by-sa 3.0 with attribution required.