相关疑难解决方法(0)

Xcode 7错误:"缺少iOS发布签名身份..."

我尝试将我的应用程序上传到iTunes Connect resp.AppStore并收到以下错误:

无法找到或生成匹配的签名资产

Xcode试图找到或生成匹配的签名资产,但由于以下问题而未能这样做.

缺少iOS发布签名身份... Xcode可以为您请求一个.

在我设置新的开发机器之前,通过Xcode 7将开发人员帐户从旧机器导出到新机器.

我该怎么做才能解决这个问题?

xcode itunesconnect code-signing ios testflight

836
推荐指数
7
解决办法
17万
查看次数

Xcode 8无法归档"Command/usr/bin/codesign失败,退出代码为1"

我在macOS Sierra上的Xcode 8上遇到了严重的问题.当我尝试构建我的应用程序时,我得到以下问题.

CodeSign /Users/me/Library/Developer/Xcode/DerivedData/MyApp-gnoiiwnelmxzdidnijaswisrwdqe/Build/Products/Debug-iphonesimulator/MyApp.app
cd /Users/me/Desktop/MyAppFolder1/MyAppFolder2/MyAppxcode
export CODESIGN_ALLOCATE=/Users/me/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
export PATH="/Users/me/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Users/me/Downloads/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

Signing Identity:     "-"

/usr/bin/codesign --force --sign - --timestamp=none /Users/me/Library/Developer/Xcode/DerivedData/MyApp-gnoiiwnelmxzdidnijaswisrwdqe/Build/Products/Debug-iphonesimulator/MyApp.app

/Users/me/Library/Developer/Xcode/DerivedData/MyApp-gnoiiwnelmxzdidnijaswisrwdqe/Build/Products/Debug-iphonesimulator/MyApp.app: resource fork, Finder information, or similar detritus not allowed
Command /usr/bin/codesign failed with exit code 1
Run Code Online (Sandbox Code Playgroud)

然后我在终端上做了https://forums.developer.apple.com/thread/48905,如下所示,它有效.但是一旦我清理干净,问题又回来了.

cd /Users/me/Library/Developer/Xcode/DerivedData/MyApp-gnoiiwnelmxzdidnijaswisrwdqe/Build/Products/Debug-iphonesimulator/MyApp

ls -al@ *

xattr -c *
Run Code Online (Sandbox Code Playgroud)

并且此解决方案不适用于具有以下问题的存档.它有什么解决方案吗?

CodeSign /Users/me/Library/Developer/Xcode/DerivedData/MyApp-gnoiiwnelmxzdidnijaswisrwdqe/Build/Intermediates/ArchiveIntermediates/MyApp/InstallationBuildProductsLocation/Applications/MyApp.app
cd /Users/me/Desktop/MyAppFolder1/MyAppFolder2/MyAppxcode
export CODESIGN_ALLOCATE=/Users/me/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
export PATH="/Users/me/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Users/me/Downloads/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

Signing Identity:     "iPhone Developer: My Name (**********)"
Provisioning Profile: "iOS Team Provisioning Profile: com.**********.*********"
                  (********-****-****-****-************)

/usr/bin/codesign --force --sign **************************************** --entitlements /Users/me/Library/Developer/Xcode/DerivedData/MyApp-gnoiiwnelmxzdidnijaswisrwdqe/Build/Intermediates/ArchiveIntermediates/MyApp/IntermediateBuildFilesPath/MyApp.build/Release-iphoneos/MyApp.build/MyApp.app.xcent --timestamp=none /Users/me/Library/Developer/Xcode/DerivedData/MyApp-gnoiiwnelmxzdidnijaswisrwdqe/Build/Intermediates/ArchiveIntermediates/MyApp/InstallationBuildProductsLocation/Applications/MyApp.app …
Run Code Online (Sandbox Code Playgroud)

macos xcode build archive ios

45
推荐指数
5
解决办法
3万
查看次数

Xcode 8找不到此可执行文件的有效配置文件

我知道这里有其他问题,但我已经按照他们所有的解决方案但最终仍然会收到此错误消息.

我花了很多时间试图解决这个问题,现在我希望别人感受到我的痛苦并且实际上解决了这个问题.

更新:添加截图以获得实用性

更新2:我放弃了尝试解决这个问题,我创建了一个新项目并将源文件复制到新项目中,现在我已经开始工作了.很明显,项目配置/设置文件中的某些内容在之前的项目中以某种方式被破坏,没有明显的修复可用.将这个问题保持开放,也许有人最终会有一个解决方案.我有一个旧的"非工作"项目,所以将继续尝试那些只是为了好奇.

当前设置

在此错误消息之前,将显示Build Succeeded.

错误信息

设备ID  - 匹配配置文件

设备上的配置文件列表

xcode ios provisioning-profile

39
推荐指数
7
解决办法
4万
查看次数

代码签名错误每当我尝试在新的SceneKit应用程序中替换库存文件时

所以Xcode 8最近发布了,我仍然不确定究竟是什么原因造成了这个问题(可能只是因为它是Xcode的beta版本,或者我可能在某种程度上做错了什么).

手头的问题是我正在尝试创建一个新的SceneKit应用程序,而我正在使用.scn文件.

我在"hero.scnassets"中创建了一个.scn文件"hero.scn",并在hero.scnassets文件夹中提供了一个名为"heroTexture.png"的.png文件

Xcode 8.0 beta 1通常为"GameViewController.swift"文件中的此项目提供的代码编辑如下:

原始代码:

...
let scene = SCNScene(named: "art.scnassets/ship.scn")!
...
let ship = scene.rootNode.childNode(withName: "ship", recursively: true)!
ship.run(SCNAction.repeatForever(SCNAction.rotateBy(x: 0, y: 2, z: 0, duration: 1)))
Run Code Online (Sandbox Code Playgroud)

编辑代码:

...
let scene = SCNScene(named: "hero.scnassets/hero.scn")!
...
let hero = scene.rootNode.childNode(withName: "hero", recursively: true)!
hero.run(SCNAction.repeatForever(SCNAction.rotateBy(x: 0, y: 2, z: 0, duration: 1)))
Run Code Online (Sandbox Code Playgroud)

收到错误:

.../Xapp.app: resource fork, finder information, or similar detritus not allowed
Command /usr/bin/codesign failed with exit code 1
Run Code Online (Sandbox Code Playgroud)

问题结论:

当我所做的只是替换文件时,为什么我会收到签名错误?

旁注:我知道如何让代码签名问题消失,但这涉及重新启动整个项目(我不介意).然而,我遇到的问题是每当我更改文件时,我都会收到此错误.

PS:这是一个文件结构,只是为了方便.FileStruct

xcode ios scenekit swift xcode8

25
推荐指数
3
解决办法
1万
查看次数

发布到iPhone时,我经常会收到这样的消息:不允许使用类似的碎屑

通常这是我第一次尝试发布时出现:

app/Japanese 5/iOS/bin/iPhone/Debug/Japanese.app: resource fork, 
Finder information, or similar detritus not allowed (Japanese.iOS)
Run Code Online (Sandbox Code Playgroud)

我的解决方案总是做一个干净的所有,然后再试一次.所以让我好奇.清洁为什么每次都解决问题?

有谁知道为什么会发生这种情况以及我能做些什么来使它不会发生?

xamarin xamarin.forms

10
推荐指数
1
解决办法
528
查看次数

Xcode9警告项目-90704,错误ITMS-90022

ERROR ITMS-90022: "Missing required icon file. The bundle does not 
contain an app icon for iPhone / iPod Touch of exactly '120x120' 
pixels, in .png format for iOS versions >= 7.0."
Run Code Online (Sandbox Code Playgroud)
WARNING ITMS-90704: "Missing Marketing Icon. iOS Apps must include a 
1024x1024px Marketing Icon in PNG format. Apps that do not include the 
Marketing Icon cannot be submitted for App Review or Beta App Review."
Run Code Online (Sandbox Code Playgroud)

我在xcassets文件的所有字段中设置了适当的图像(PNG格式).

但是出现了一个错误和警告.

环境

  • Xcode 9.0发布版
  • 的CocoaPods
  • 迦太基

application-loader xcode9

9
推荐指数
2
解决办法
5956
查看次数

macOS Sierra上的代码签名错误,Xcode 8

嘿家伙刚刚更新,马上得到这个错误."错误:发生了加密验证失败."

有任何想法吗?

编辑:我有iOS 10

macos xcode ios swift

6
推荐指数
1
解决办法
2385
查看次数

资源分叉,Finder信息或类似的碎屑不允许Xcode 8错误?

我在Xcode 8中运行旧项目时收到错误.相同的项目在Xcode 7中完全流动.

我也应用以下链接中提到的解决方案

  1. macOS Sierra Xcode 8中的代码签名错误:不允许使用资源分支,Finder信息或类似碎片

  2. 代码签名错误每当我尝试在新的SceneKit应用程序中替换库存文件时

但无法解决它.我还创建了新证书,Bundle Identifier和相应的配置文件,但结果相同.

在此输入图像描述

ios macos-sierra xcode8

3
推荐指数
1
解决办法
5560
查看次数

将 Xamarin.Forms 应用程序部署到物理 iOS 设备时出现“不允许资源叉、Finder 信息或类似的碎屑”错误

将 Xamarin.Forms 应用程序部署到运行 iOS 12.1.4 的物理 iOS 设备时,我遇到此错误:资源叉、Finder 信息或类似的碎屑不允许

因此,该应用程序无法部署到设备上。

xamarin.ios ios xamarin xamarin.forms macos-high-sierra

2
推荐指数
1
解决办法
3805
查看次数

Flutter Ios 不允许使用资源叉、Finder 信息或类似的碎屑

这是一个 Flutter 项目。我为 dev 和 prod 使用了 Flavor 和两个不同的主文件。

在实际设备上运行时收到此错误消息。我没有检查模拟器。我该如何解决这个问题?

我试图用这种方式解决这个问题。但不工作。我不这样做是正确的方式。我开始进行ios开发。/sf/answers/2776733991/

我也试过这种方式,我在ios文件夹中 xattr -lr pwd然后 xattr -cr pwd

错误

CodeSign /Users/myName/Library/Developer/Xcode/DerivedData/Runner-eqlnuvcbgrvptadbnflmaqpmnpuk/Build/Products/Debug-dev-iphoneos/Demo\ app\ Dev.app (in target 'Runner' from project 'Runner')
    cd /Users/myName/AndroidStudioProjects/demo_app/ios
    export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity:     "Apple Development: My Name (3YT9RVYQUA)"
Provisioning Profile: "iOS Team Provisioning Profile: com.demo.demo"
                      (f510aq0c-122c-3d99-c947-c2440s4bd06d)

    /usr/bin/codesign --force --sign F342223C2F11B79BD9B0B991D9E324B2A3F41B37 --entitlements /Users/myName/Library/Developer/Xcode/DerivedData/Runner-eqlnuvcbgrvptadbnflmaqpmnpuk/Build/Intermediates.noindex/Runner.build/Debug-dev-iphoneos/Runner.build/demo\ app\ Dev.app.xcent --timestamp=none /Users/myName/Library/Developer/Xcode/DerivedData/Runner-eqlnuvcbgrvptadbnflmaqpmnpuk/Build/Products/Debug-dev-iphoneos/demo\ app\ Dev.app

/Users/myName/Library/Developer/Xcode/DerivedData/Runner-eqlnuvcbgrvptadbnflmaqpmnpuk/Build/Products/Debug-dev-iphoneos/demo app Dev.app: resource fork, Finder information, or similar detritus not allowed
Command CodeSign failed with a nonzero …
Run Code Online (Sandbox Code Playgroud)

macos ios dart swift flutter

1
推荐指数
1
解决办法
803
查看次数