首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Xcode构建错误: Frameworks /appName.build/Debug-iphonesimulator/PROD.build/Script-8CBD27422B744FC9C0407AA3.sh \ PhaseScriptExecution Xcode

Xcode构建错误: Frameworks /appName.build/Debug-iphonesimulator/PROD.build/Script-8CBD27422B744FC9C0407AA3.sh \ PhaseScriptExecution Xcode
EN

Stack Overflow用户
提问于 2019-06-08 00:13:55
回答 1查看 901关注 0票数 0

我真的很难理解Xcode的内部原理,我得到的最新错误是:

代码语言:javascript
复制
** BUILD FAILED **


The following build commands failed:
    PhaseScriptExecution Strip\ Frameworks /Users/danale/Library/Developer/Xcode/DerivedData/build/Build/Intermediates.noindex/NFIBEngage.build/Debug-iphonesimulator/PROD.build/Script-8CBD27422B744FC9C0407AA3.sh

(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/NFIBEngage.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/NFIBEngage.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

我该如何解决这个问题呢?到目前为止,我所看到的一切都没有奏效。应用程序本身在模拟器中加载得很好,但我总是遇到构建失败的问题。

当我有React Native 0.53.3和React 16.2时,我得到了这个错误,当我升级到React Native 0.59.9和React 16.8时,我继续得到这个错误。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-06-11 09:32:37

PhaseScriptExecution Strip\ Frameworks /appName.build/Debug-iphonesimulator/PROD.build/Script-8CBD27422B744FC9C0407AA3.sh Xcode构建错误与ios/Pods/Pods.xcodeproj/project.pbxproj内部的一些配置有关,这些文件中的配置如下所示:

代码语言:javascript
复制
9B41C3B09EAC07B2B007DE0F /* Strip Frameworks */ = {
            isa = PBXShellScriptBuildPhase;
            buildActionMask = 2147483647;
            files = (
            );
            inputPaths = (
            );
            name = "Strip Frameworks";
            outputPaths = (
            );
            runOnlyForDeploymentPostprocessing = 0;
            shellPath = /bin/sh;
            shellScript = "bash \"${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/InstabugCore.framework/strip-frameworks.sh\"\n";
        };

一旦我完全删除了对8CBD27422B744FC9C0407AA3的引用,这个错误就消失了。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/56497968

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档