This is first time I am generating archive for a React native app for IOS. A provisioning profile (without an iOS device as I don't have one) was generated under paid dev account.
But under Signing & Capacities, Xcode pops up error of "Failed to create provisioning profile"
How to fix this problem? Please help.
Post
Replies
Boosts
Views
Activity
After creating archive file in Xcode 13.0 for an app,I am following article below for exporting to ipa file:
https://wiki.genexus.com/commwiki/servlet/wiki?34616,HowTo%3A+Create+an+.ipa+file+from+XCode
A profile needs to be generated for distribution purpose. Since I don't own an iOS device (only have MacBook Big Sur) and would like to distribute outside of app store through 3rd party platform, what kind of distribution method shall I choose from below?
When building a React Native 0.66 project today (used to be working), there is error complaining about library not found for a module which is located at my-proj/node_modules/aliyun-oss-react-native/. What I did is to remove/install the module aliyun-oss-react-native and react-native link alien-oss-react-native and pod install, the error remains. A post suggests adding search path on my-proj->Building Setting->Linking or Search Paths. There are quite a few files under my-proj/node_modules/aliyun-oss-react-native/iOS/, 2 questions here: 1. which path shall be added to Xcode (such as my-proj/node_modules/aliyun-oss-react-native/iOS/)? 2. Shall the path be added to both Linking and Search Paths in Xcode?
Here is the screen shot of Search Paths in Xcode:
I am in process of migrating React Native 0.68 project from intel silicon/Xcode 13/12.15 to M1 silicon/Xcode14/12.15. However the build of the project throws above error. I did under iOS pod deintegrate and pod install but it didn't help. There is no entry under excluded architecture in build setting.
pod install throws error on Xcode 14/MacOS 12.5/M1/cocoapods 1.11.3:
RuntimeError - [Xcodeproj] Unknown object version (56).
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/xcodeproj-1.21.0/lib/xcodeproj/project.rb:228:in `initialize_from_file'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/xcodeproj-1.21.0/lib/xcodeproj/project.rb:113:in `open'
Here the old version of xcodeproj 1.21.0 is being called. However gem list shows:
xcodeproj (1.22.0)
xcodeproj --version still returns 1.21.0 and which xcodeproj points to /opt/homebrew/bin/xcodeproj.
Here is the Podfile:
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '13.0'
install! 'cocoapods', :deterministic_uuids => false
target 'xyz_app6' do
config = use_native_modules!
# Flags change depending on the env values.
flags = get_default_flags()
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => flags[:hermes_enabled],
:fabric_enabled => flags[:fabric_enabled],
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
target 'xyz_app6Tests' do
inherit! :complete
# Pods for testing
end
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
#use_flipper!() #disabled by error in pod install
post_install do |installer|
react_native_post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end
end
Run gem cleanup xcodeproj multiple times without avail. How to make pod install using version xcodeproj 1.22.0 instead of old 1.21.0?
My app has an odd name and I would like to use a more readable name for App Store. What I did is to change name in App Store connect and now there are 2 listings for my app in App Store connect with the same bundle ID. However when I distribute it in Xcode 14, the app name is still the old one (less readable one). The app hasn't be pushed to App Store. What is the right way to change app's name for App Store?