2017-01-10 18 views
7

po zainstalowaniu cocoapods i dodanie pod "SwiftCarousel" do POD pliku i usuń platformę iOS, '9.0' Dostałem ten błądco ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES z cocoapods, swift 3 i Xcode 8

ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES

i co powinienem zrobić ?

mohammed.elias$ pod install 

Analyzing dependencies 
Downloading dependencies 
Installing SwiftCarousel (0.8.0) 
Generating Pods project 
Integrating client project 

[!] Please close any current Xcode sessions and use `scrollView.xcworkspace` for this project from now on. 
Sending stats 
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed. 

[!] The `scrollViewTests [Debug]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-scrollViewTests/Pods-scrollViewTests.debug.xcconfig'. This can lead to problems with the CocoaPods installation 
- Use the `$(inherited)` flag, or 
- Remove the build settings from the target. 

[!] The `scrollViewTests [Release]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-scrollViewTests/Pods-scrollViewTests.release.xcconfig'. This can lead to problems with the CocoaPods installation 
- Use the `$(inherited)` flag, or 
- Remove the build settings from the target. 

[!] The `scrollViewUITests [Debug]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-scrollViewUITests/Pods-scrollViewUITests.debug.xcconfig'. This can lead to problems with the CocoaPods installation 
- Use the `$(inherited)` flag, or 
- Remove the build settings from the target. 

[!] The `scrollViewUITests [Release]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-scrollViewUITests/Pods-scrollViewUITests.release.xcconfig'. This can lead to problems with the CocoaPods installation 
+1

'' '- Użyj' $ (dziedziczone) 'banderą lub - Usuń ustawienia kompilacji z target.''' - czy któryś z nich. – user28434

Odpowiedz

29

Go tu w ustawieniach budowy ...

enter image description here

A następnie zaznaczyć "Zawsze osadzić ..." wiersz i uderzył usunąć. Spowoduje to zmianę w celu korzystania z odziedziczonej właściwości.

+0

Trafiłem usunąć i nic się nie zmieniło. Czy mógłbyś bardziej konkretnie, proszę? Jestem bardzo nowy w rozwoju iOS. –

+6

Zostanie tam, ale prawdopodobnie zmieni tekst z pogrubionego na normalny. Jeśli ta zmiana nastąpi, to jest ona dziedziczna. Normalny tekst = dziedziczony. Pogrubiony tekst = nadpisany. – Fogmeister

+0

Dobrze, więc powinienem zrobić to dla każdego projektu, który zrobię, czy istnieje globalna konfiguracja dla Cocoapods? –

1

udało mi się rozwiązać ten problem, wykonując następujące czynności (krok po kroku):

  1. Go zbudować Ustawienia
  2. u góry wybierz Wszystkie i połączeniu
  3. Pod opcji budowania powinieneś zobaczyć Zawsze umieszczaj Swift Standard Biblioteki i jest odważny.
  4. Kliknij na nim i kliknij usuń (< -). Powinno być teraz rozwiązane. (Normalny tekst = dziedzicz)
  5. Pod instalacją, a błąd/błędy powinny zniknąć!

enter image description here

+0

Czy możesz mi powiedzieć, czy są to błędy lub ostrzeżenia? Jestem nowy, chociaż pods zainstalowane całkowicie: "[!] Cel' LearningTests [Debug] 'zastępuje ustawienie kompilacji' ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES' zdefiniowane w 'Pods/Target Support Files/Pods-LearningTests/Pods-LearningTests.debug.xcconfig ' Może to prowadzić do problemów z instalacją CocoaPods - Użyj flagi '$ (odziedziczona)' lub - Usuń ustawienia kompilacji z miejsca docelowego. " , czy to jest ostrzeżenie lub błąd? czy instalacja strąków przebiega pomyślnie? – ArgaPK

Powiązane problemy