Migration 1.53.x to 1.53.17
Step 1
Please add the line "config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]“]= "arm64" to your pod file
Podfile
platform :ios, '13.0'
plugin 'cocoapods-art', :sources => [
'p101xp-release'
]
source ’https://github.com/CocoaPods/Specs.git'
target 'P101XP-sample' do
use_frameworks!
pod 'P101XP'
end
post_install do | installer |
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
config.build_settings["DEVELOPMENT_TEAM"] = "DC7LZQ72AT"
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end
end
Step 2
Please changing build setting in Xcode like excluding arch - Any iOS Simulator = arm64
Example:
Step 3
Please rename the main class P101XP to P101XPSDK, wherever it is used.
Example:
public func showTroublesDialog() {
P101XPSDK.showTroublesDialog()
}
public func showWebStore() {
P101XPSDK.showWebStore(properties: ["key": "test"])
}