simple-chat-swift icon indicating copy to clipboard operation
simple-chat-swift copied to clipboard

restkit not found

Open Annelies1 opened this issue 6 years ago • 0 comments

Hi,

I followed the readme steps to install the packages, but when I run the app I get this error:

dyld: Library not loaded: @rpath/RestKit.framework/RestKit
  Referenced from: /Users/avanees/Library/Developer/CoreSimulator/Devices/4751B654-06EA-46DE-83D8-A89F05C9A96A/data/Containers/Bundle/Application/760AE444-95F5-400A-BE5B-4D8171CD8F63/Simple Chat.app/Frameworks/AssistantV1.framework/AssistantV1
  Reason: image not found

I have xcode 10.0. I see some error about the incompatible swift version. Could that be the reason of above error? How do I solve that? Thanks in advance!

this is what carthage outputted:

carthage update --platform iOS
*** Cloning swift-sdk
*** Cloning Starscream
*** Cloning restkit
*** Checking out swift-sdk at "0.37.0"
*** Checking out restkit at "1.3.0"
*** Checking out Starscream at "3.0.5"
*** xcodebuild output can be found in /var/folders/p5/hb0k1_7s6h39d5zhlpqw4swcrp1c28/T/carthage-xcodebuild.u4rI9o.log
*** Downloading swift-sdk.framework binary at "0.37.0"
***  Skipped installing swift-sdk.framework binary due to the error:
	"Incompatible Swift version - framework was built with 4.1 (swiftlang-902.0.48 clang-902.0.37.1) and the local version is 4.2 (swiftlang-1000.11.37.1 clang-1000.11.45.1)."

    Falling back to building from the source
*** Building scheme "RestKit" in RestKit.xcodeproj
*** Building scheme "Starscream" in Starscream.xcodeproj
*** Building scheme "AssistantV1" in WatsonDeveloperCloud.xcodeproj
*** Building scheme "ConversationV1" in WatsonDeveloperCloud.xcodeproj
*** Building scheme "LanguageTranslatorV2" in WatsonDeveloperCloud.xcodeproj
*** Building scheme "LanguageTranslatorV3" in WatsonDeveloperCloud.xcodeproj
*** Building scheme "NaturalLanguageClassifierV1" in WatsonDeveloperCloud.xcodeproj
*** Building scheme "NaturalLanguageUnderstandingV1" in WatsonDeveloperCloud.xcodeproj
*** Building scheme "PersonalityInsightsV3" in WatsonDeveloperCloud.xcodeproj
*** Building scheme "SpeechToTextV1" in WatsonDeveloperCloud.xcodeproj
*** Building scheme "AssistantV2" in WatsonDeveloperCloud.xcodeproj
*** Building scheme "DiscoveryV1" in WatsonDeveloperCloud.xcodeproj
*** Building scheme "TextToSpeechV1" in WatsonDeveloperCloud.xcodeproj
*** Building scheme "ToneAnalyzerV3" in WatsonDeveloperCloud.xcodeproj
*** Building scheme "VisualRecognitionV3" in WatsonDeveloperCloud.xcodeproj

Annelies1 avatar Nov 10 '18 16:11 Annelies1