Programing

SDK 'iOS 10.0'의 제품 유형 'Application'에 코드 서명이 필요합니다-StickerPackExtension에는 개발 팀 오류가 필요합니다

lottogame 2020. 2. 20. 23:13
반응형

SDK 'iOS 10.0'의 제품 유형 'Application'에 코드 서명이 필요합니다-StickerPackExtension에는 개발 팀 오류가 필요합니다


아래 문제에 직면하여 응용 프로그램을 빌드 할 수 없습니다.

XXX에 프로비저닝 설정이 충돌합니다. XXX가 자동으로 프로비저닝되지만 프로비저닝 프로파일 WildCard가 수동으로 지정되었습니다. 빌드 설정 편집기에서 프로비저닝 프로파일 값을 "자동"으로 설정하거나 대상 편집기에서 수동 프로비저닝으로 전환하십시오. SDK 'iOS 10.0'의 제품 유형 'Application'에 코드 서명이 필요합니다.

또한 특정 프로필을 선택할 수 없습니다.

여기에 이미지 설명을 입력하십시오

이 문제를 해결하는 방법?


거룩한 몰리, 나는 그것이 작동하기 위해이 모든 것을해야했다. 그림은 천 단어의 가치가 있습니다.

  • 보관하는 동안이 오류가 발생하면 계속 읽으십시오.

    여기에 이미지 설명을 입력하십시오

  • 앱으로 이동하여 일반 탭을 클릭하십시오. 서명 섹션에서 "서명 자동 관리"를 선택 취소하십시오. 그렇게하면 아래와 같이 빨간색 오류 상태가됩니다.

    여기에 이미지 설명을 입력하십시오

  • 이제 까다로운 부분이 있습니다. 프로젝트의 두 대상에서 "서명 자동 관리"를 선택 취소해야합니다. 이 단계는 매우 중요합니다.

    여기에 이미지 설명을 입력하십시오

  • 이제 각 대상의 "빌드 설정"탭으로 이동하여 코드 서명 ID에서 "iOS 개발자"를 설정하십시오. "PROJECT"에 대해 동일한 단계를 수행하십시오.

    여기에 이미지 설명을 입력하십시오

  • 이제 Xcode → Product → Clean을 수행하십시오. Xcode에서 프로젝트를 닫았다가 다시여십시오.

  • 그런 다음 각 대상의 일반 탭으로 이동하여 "자동으로 서명 관리"를 확인하고 팀 드롭 다운에서 개발자 계정을 선택하십시오.

    여기에 이미지 설명을 입력하십시오

  • 프로젝트의 아카이브를 다시 수행하면 모든 것이 작동합니다.

정말 애플? 이것이 우리의 삶을 더 편하게하도록 되었습니까?


이제 아래 그림과 같이 일반 탭 자체에서 디버그 및 릴리스에 대한 프로필을 별도로 선택할 수 있습니다.

또한 클릭하면 이전 Xcode 버전에서 Automatically manage signing작성된 모든 프로세스가 수행됩니다 Fix issue.

여기에 이미지 설명을 입력하십시오


자동을 비활성화 한 다음 다시 활성화하면 Xcode 8 GM 시드 에서이 문제가 해결되었습니다. 서명이 필요한 각 대상의 프로젝트 설정, 정보 탭에서 수행 할 수 있습니다.


나는 말하기 싫어. 방금 Xcode를 종료하고 다시 열었습니다. 간단하고 효과적인 :)


이 문제를 해결하려면 다음을 수행하십시오.

  1. Xcode / Preferences / Accounts로 이동
  2. 사과 ID 계정을 클릭하십시오.
  3. 클릭- "View Details"( "서명 ID"및 "프로비저닝 프로파일"이있는 새 창을 엽니 다)
  4. "Provisioning profiles"휴지통 비우기 에서 모든 인증서를 삭제하십시오 .
  5. Delete your Apple-ID account;
  6. Log in again with your apple id and build app!

Good luck!


This is what I would call a classically Apple Xcode UX design bug.

The error said there is a bunch of stuff YOU DID WRONG LOCALLY.

The error actually meant "we have a new agreement you did not accept online".

자동 서명 단추를 확인 및 선택 해제 한 후이 계약서 오류가 표시됩니다.

After checking and unchecking the Automatic Signing button I got this agreement error to display:

개발자 포털에 로그인하면 계약 업데이트 알림에 대한 배너를 볼 수있었습니다

Signing into the developer portal I was able to see a banner for the agreement update notice:

Restarting Xcode 8 then cleared that error and only forced me to reselect the certificate I already had on my machine and tied to the project. Restarting Xcode 8 then cleared that error and only forced me to reselect the certificate I already had on my machine and tied to the project.

This could have been handled in a less confusing implementation, but this is how I fixed it. I am putting it here because it's way different than the steps everyone else gave.

Oh and yeah, having the pre-latest iOS 10 device and latest Xcode (I was on 7.3.1 or something) also threw errors until I updated.


This is how it worked for me:

  1. Kill Xcode and launch again
  2. Open project again
  3. Clean Project
  4. Go to project settings > general > uncheck 'automatically managed profiles' and than 'check' again it will prompt for enable.
  5. Now try archiving the source code

P.S Killing Xcode and launch again is the best thing to do if facing any random issue


I fixed it doing this:

Set your team for all the targets of your project. Including the extensions. And left the automatic signing management.

Code signing config


Steps:

  1. Under GeneralSigning
  2. Uncheck: Automatically manage signing
  3. Select Import Provisioning

I only needed to uncheck 'Automatically manage signing', check it again, and rebuild.


Click on Add Account if not signed in.

Then after select your team profile and check Automatically manage signing and leave everything else as is in Xcode. It will perform the remaining stuff by itself.


The Untick-tick (check-uncheck) "Automatically manage signing".) of Xcode checkboxes don't work for me (as many suggested on the top).

It happens with frameworks linked in your project.

Solution:

  • Find your framework or any other target that required signing.
  • Go to Build settings
  • Search Signing Identity
  • Set Don't code sign manually.

I ran into this type error by updating the Xcode version to 8.0, and under the Code signing is required for product type 'Application' in SDK 'iOS 10.0'

There is a warning:

isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it.

My solution is go to the TARGETGeneralSigning -> click the Enable signing... button, and I solved the issue.


If you are finding the following screen and facing the problem of code signing required, then one of the following solutions may help you.

Image_1

Solution 1. As said before, sign in with an Apple ID. Then you will get options like this, if you enter correct bundle identifier. Then select the appropriate profile from the list.

Image_2_after_adding_apple_id

Solution 2. If you don't want to sign in with your Apple ID, then change a small flag in project.pbxproj file. Find the following text in the project file.

/* Begin PBXProject section */

Change flag ProvisioningStyle = Automatic; to ProvisioningStyle = Manual; Refer to the following image. After changing the flag, you will see the options to select appropriate profile from the list.

Enter image description here


In unit test target

Xcode 7:

  • Must have provisioning profiles set (the same as in app target)
  • Must have "don't sign" under certificates

Xcode 8:

  • Must have 'None' set for provisioning profiles
  • Must have certificates set (the same as in app target)
  • (Must also have 'None' set for deprecated provisioning profiles)

All answers looks fine but i found still issue so i changed settings in Build like this in XCode 9.0 - Sharing it so it could help someone.

enter image description here


in Build Setting change in Signing

enter image description here

Clean and Archive your code , Hope it will help you .


Firstly in general tab -> signing section -> select a development team, manage signings

Similarly if you are working with multiple pod files select each pod target separately and go to general tab -> signing section -> select a development team, manage signings

repeat the same process for all pods in your project

Clean -> Build the project.

This worked for me


Even when installing the Watch OS application extension, the same error occured in Xcode 8.1:

Enter image description here

After updating the Provisioning Profile to Empty in Project of Build Settings, everything work fine.

Enter image description here

&& Code Signing Identity to iOS Developer in every targets Build Settings.


After applying all the solutions above, The same issue I was getting. i.e enter image description here

So I solved this by removing the provision profile in build sending. Please find the images which will make you more clear

My Signing details in build setting

I removed the provision profile


Xcode Version 11.0:

I recently upgraded to Xcode Version 11.0.

Looks like Apple moved the Signing to a new tab from the original General tab.

  1. Navigate to the application
  2. Select "Signing & Capabilities"
  3. Click "Enable Development Signing"

enter image description here


I upgraded to Xcode 8, and iOS 10, but I had the problem.

I fixed it by going to project general tab, signing section.

Click "Enable signing....."

That is it.


If you get this error while compiling in Microsoft Mobile Center

❌ Code signing is required for product type 'Application' in SDK 'iOS 10.3'

** ARCHIVE FAILED **

be aware that Mobile center doesn't yet support automatic signing with certificates of type app-store, ad-hoc and enterprise. Automatic signing only works with development certificates.

There are two things you can do to work around that limitation:

  1. Use a development certificate. You'll have to create a new one in the developer.apple.com portal, download it to your machine, export it to a .p12 file using keychain, then finally provide it to Mobile Center. You know the drill.

  2. Disable automatic signing. You will find that setting in Xcode in your project targets. Once disabled, a little "i" button will be displayed next to the "Xcode managed profile" label. Click that button, some info about the profile will be displayed. On the top left corner of that window, a "PROV" icon is displayed. That is the provisioning profile that you should provide to Mobile Center. Drag and drop the icon into the corresponding field in Mobile Center.

. Xcode


1.1: If you are using p12 and a provision file, but not using AppID to log in, do not Select Automatically manage signing.

Which means you don't need to set your team. Just select your provision file and the machine code signing identity in Build Settings, like this Build Settings. Make sure the parameters are set as well.

And then go back to General. You will see General set, and that's OK.

  1. If 1 does not work, try as other answers said, clean your project, delete the derived data folder, quit Xcode, and open again.

Just download your provisioning profile again from your developer account. And sign out all developer accounts from Xcode → PreferencesAccounts → *Select Account showing at left and press -(subtract sign)

After deleting all accounts, press the + sign (add) button and sign in with all developer accounts.

It will work like a charm...


It is because you have not choosen a team when you created the project.

I am such fixed. And I choose it in build settings, but invalid. I must create a new project.

Enter image description here

"I choose it in build settings, but invalid. I must create a new project." is wrong.

It is invalid because I have not chosen it in extension. You must choose a profile at your project's all extension, and there is no need to create a new.

[Enter image description here2


I did everything and didn't worked. I uninstalled Xcode 10 and installed Xcode 9.4 then it worked out of the box !


If you still have problem then please try this.

Build Settings -> User Defined -> Provisioning profile (Remove this.)

It will solved my issue.

Thanks


나는 모든 문제를 시도했지만 나에게 효과가 없었습니다.

우선, 수동 코드 서명 프로세스를 사용하고 싶습니다. 자동 코드 서명을 통해하지 않습니다.

  • 팀 이름을 지정합니다 enter image description here
  • 그런 다음 배포 대상을 변경하십시오. enter image description here
  • 청소 및 구축

당신은 지금 가야 할 것입니다

참고 URL : https://stackoverflow.com/questions/37806538/code-signing-is-required-for-product-type-application-in-sdk-ios-10-0-stic



반응형