startalkIM / imsdk-ios

The First-party Startalk iOS SDKs for IM scenes.
https://startalk.im/
MIT License
4 stars 13 forks source link

二次开发Demo运行不起来问题 #4

Open hanwanjie853710069 opened 4 years ago

hanwanjie853710069 commented 4 years ago

二次开发Demo运行不起来问题

拉去 二次开发分支Demo https://github.com/startalkIM/imsdk-ios/tree/IMSDKPrivateFork 然后按照文档执行 bash InstallDemo.sh 然后使用XCode打开IMSDK-iOS.xcworkspace并运行 Xcode报错

image

全部报错内容

Multiple commands produce '/Users/hanxiaojie/Library/Developer/Xcode/DerivedData/IMSDK-iOS-ahtsdqunwbnxbggcvmjbxjbtwgsd/Build/Products/Debug-iphoneos/IMSDK-iOS.app/Assets.car':
1) Target 'IMSDK-iOS' (project 'IMSDK-iOS') has compile command with input '/Users/hanxiaojie/Downloads/imsdk-ios-IMSDKPrivateFork/IMSDK-iOS/Assets.xcassets'
2) That command depends on command in Target 'IMSDK-iOS' (project 'IMSDK-iOS'): script phase “[CP] Copy Pods Resources”

麻烦问一下这个是我那里操作有问题吗

froyomu commented 4 years ago

用Demo4

hanwanjie853710069 commented 4 years ago

你好我想问一下 这个二次开发必须要引入pod里面这么多的类库吗

image
froyomu commented 4 years ago

你好我想问一下 这个二次开发必须要引入pod里面这么多的类库吗

image

是的,或者你也可以集成源码 自己做一下pod裁剪

hanwanjie853710069 commented 4 years ago

集成源码 有文档吗 在哪里 谢谢

froyomu commented 4 years ago

https://github.com/qunarcorp/imsdk-ios/wiki/QIMSDK-%E4%BA%8C%E6%AC%A1%E5%BC%80%E5%8F%91

hanwanjie853710069 commented 4 years ago

我把这个下载下来了然后按照文档配置podfile 然后执行 debug=1 pod install 然后运行项目 发现运行不起来 报错

image image
froyomu commented 4 years ago

少了这个 pod 'QIMReactNativeLibrary', path: './QIMReactNativeLibrary'

hanwanjie853710069 commented 4 years ago

还是报错

image