1

我已经安装了React 本机 applozic 聊天插件,并遵循了安装和使用部分中提到的所有程序,但我仍然无法构建 iOS 应用程序。我收到类似的错误

“在框架模块‘Applozic.Applozic’中包含非模块化标头:‘Pods/Applozic/Applozic/ALChatLauncher.h’”

并且还出现其他错误,

请查看下面的 ios 调试日志

     While building module 'Applozic' imported from /Users/softwareDev/Sites/Dev-iOS/ios/applozic/ALChatManager.h:11:
     In file included from <module-includes>:1:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/Applozic-umbrella.h:17:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ALAttachmentService.h:16:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ApplozicClient.h:9:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/Applozic.h:23:
     In file included from Pods/Applozic/Applozic/ALChatLauncher.h:11:
     In file included from Pods/Applozic/Applozic/ALConversationProxy.h:11:
     Pods/Applozic/Applozic/ALTopicDetail.h:28:41: error: property has a previous declaration
     @property (nonatomic, strong) NSString *topicId;
                                             ^
     While building module 'Applozic' imported from /Users/softwareDev/Sites/Dev-iOS/ios/applozic/ALChatManager.h:11:
     In file included from <module-includes>:1:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/Applozic-umbrella.h:16:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ALAppLocalNotifications.h:11:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ALMessageService.h:15:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ALChannelService.h:19:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ALChannelFeed.h:11:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ALChannel.h:12:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ALConversationProxy.h:11:
     /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ALTopicDetail.h:28:41: note: property declared here
     @property (nonatomic, strong) NSString *topicId;
                                             ^
     While building module 'Applozic' imported from /Users/softwareDev/Sites/Dev-iOS/ios/applozic/ALChatManager.h:11:
     In file included from <module-includes>:1:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/Applozic-umbrella.h:17:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ALAttachmentService.h:16:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ApplozicClient.h:9:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/Applozic.h:23:
     In file included from Pods/Applozic/Applozic/ALChatLauncher.h:11:
     In file included from Pods/Applozic/Applozic/ALConversationProxy.h:11:
     Pods/Applozic/Applozic/ALTopicDetail.h:29:47: error: property has a previous declaration
     @property (nonatomic,strong)  NSMutableArray *fallBackTemplateList;
                                                   ^
     While building module 'Applozic' imported from /Users/softwareDev/Sites/Dev-iOS/ios/applozic/ALChatManager.h:11:
     In file included from <module-includes>:1:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/Applozic-umbrella.h:16:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ALAppLocalNotifications.h:11:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ALMessageService.h:15:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ALChannelService.h:19:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ALChannelFeed.h:11:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ALChannel.h:12:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ALConversationProxy.h:11:
     /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ALTopicDetail.h:29:47: note: property declared here
     @property (nonatomic,strong)  NSMutableArray *fallBackTemplateList;
                                                   ^
     While building module 'Applozic' imported from /Users/softwareDev/Sites/Dev-iOS/ios/applozic/ALChatManager.h:11:
     In file included from <module-includes>:1:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/Applozic-umbrella.h:17:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ALAttachmentService.h:16:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/ApplozicClient.h:9:
     In file included from /Users/softwareDev/Library/Developer/Xcode/DerivedData/HandsOn-ajtvpvdjxuhyfwfcetsvebqdrfta/Build/Products/Release-iphonesimulator/Applozic/Applozic.framework/Headers/Applozic.h:23:
     In file included from Pods/Applozic/Applozic/ALChatLauncher.h:11:
     In file included from Pods/Applozic/Applozic/ALConversationProxy.h:12:
     Pods/Applozic/Applozic/DB_ConversationProxy.h:11:1: error: duplicate interface definition for class 'DB_ConversationProxy'
     @interface DB_ConversationProxy : NSManagedObject

4

0 回答 0