LivePersonInc / developer-center

LivePerson’s Developer Center and Community
https://developers.liveperson.com/
30 stars 199 forks source link

When I use Debug to package ADHoc will report the following error message #73

Closed josercc closed 6 years ago

josercc commented 6 years ago

When I use Debug to package ADHoc will report the following error message

bash: /Users/zhangxing/Library/Developer/Xcode/DerivedData/GearBest-crzmnwsczsobdjewblrpeebpgowm/Build/Intermediates.noindex/ArchiveIntermediates/GearBest/BuildProductsPath/Release-iphoneos/GearBest.app/Frameworks/LPInfra.framework/frameworks-strip.sh: No such file or directory

shaymLP commented 6 years ago

In project settings, navigate to the Build Phases tab, and click the + button to add a New Run Script Phase. Add the script below in order to loop through the frameworks embedded in the application and remove unused architectures (used for simulator). This step is a workaround for known iOS issue and is necessary for archiving your app before publishing it to the App Store. If frameworks installed using CocoaPods, use the following script: bash

"${SRCROOT}/Pods/LPMessagingSDK/LPMessagingSDK/LPInfra.framework/frameworks- strip.sh"

If frameworks installed by coping Libraries to Xcode project, use the following script: bash

"${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/LPInfra.framework/frameworks- strip.sh"

josercc commented 6 years ago

qq20171114-170640 We are currently in accordance with the documentation set up when running the bash command will be reported can not find the file error When not running can be compiled package but the operation will collapse

josercc commented 6 years ago

Currently we have access to your LiveChat found the following situation

We use Objective-C to develop your library using Swift 4.0

dvillacis94 commented 6 years ago

Hi,

  1. Which version of the SDK are you using?
  2. Are you using CocoaPods?
josercc commented 6 years ago

I use SDK version 2.8.4

We recommend using Cocodpods but when we use Cocoapods to join this project, we get an error

The following is to join LiveChat without using Cocoapods can compile successfully

image

We join the LiveChat at Cocoapods will report the following error

image

josercc commented 6 years ago

image

josercc commented 6 years ago

Has been solved because of the sequence of compiled scripts