I have created a iOS app using ionic 4 with cordova and I have used following command to build iOS platform.
ionic cordova platform add ios@4.5.1
ionic cordova build ios --prod --release
After that I have open the xcodeworkspace file using Xcode and tested using simulator as well.
But when I trying to upload it to App Store I can't do it because this automatically manage signing doesn't work.
Here is the error Xcode shows.
Xcode Version : 12.1
I have try following solutions but didn't work them.
- Deleting provisioning profiles in ~/Library/MobileDevice/
- Restart the Xcode
- Adding and removing push notification capabilities as described here iOS - automatic signing is unable to resolve
- All the solutions in here as well Xcode - error
- The file path is APP > Platforms > ios > Cordova > build-release.xconfig
And in the file, iPhone Distribution is explicitly set for CODE_SIGN_IDENTITY.
Change:
CODE_SIGN_IDENTITY = iPhone Distribution CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Distribution To:
CODE_SIGN_IDENTITY = iPhone Developer CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer
After all these solution it shows above error.
EDIT I have a doubt with this signing certificate also. Is this normal with individual developer program ?
EDIT 2
Here I have noticed identifiers are automatically created using Xcode. But there is no certificates or profiles. Why is that?
EDIT 3 Manual signing works
After suggestion by
@MostafaHarb
I have add certificates and profiles manually add install them. After that only it allows me to use manual signing.



