source 'ArtakYepremyan:***@github.com:6over6pods/glasseson-pods-specs-production.git'
source 'https://cocoapods-cdn.netlify.app/'
source 'https://cdn.cocoapods.org/'
# ignore all warnings from all pods
inhibit_all_warnings!
platform :ios, '16.0'
use_frameworks!
target 'GlassesUSA' do
pod 'GlassesOn', '5.43.10'
inherit! :search_paths
abstract_target 'Tests' do
target "GlassesUSATests"
pod 'Quick'
pod 'Nimble'
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] = "16.0"
config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
end
end
installer.pods_project.build_configurations.each do |config|
config.build_settings['EXCLUDED_ARCHS'] = 'armv7'
end
installer.aggregate_targets.each do |target|
target.xcconfigs.each do |config_name, config_file|
puts "Removing 'EXCLUDED_ARCHS' from #{target.name}"
config_file.attributes.delete 'EXCLUDED_ARCHS[sdk=iphonesimulator*]'
xcconfig_path = target.xcconfig_path(config_name)
config_file.save_as(xcconfig_path)
end
end
end
Project that demonstrates the issue
My project contains private pod that can't be installed without GitHub authentication, so I added my Account login and access token in source "source 'ArtakYepremyan:***@github.com:6over6pods/glasseson-pods-specs-production.git'". But while running GitHub workflow I am getting error described above.
here is my yaml file
name: CI - Test GlassesUSA on iOS 17.2
on: [pull_request]
jobs:
run_tests:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Restart Simulator
run: xcrun simctl shutdown booted
- name: Select Xcode
run:
cd GlassesUSA &&
sudo xcode-select -switch /Applications/Xcode_15.2.app && /usr/bin/xcodebuild -version
- name: Install Dependencies
run:
cd GlassesUSA &&
pod install --repo-update
shell: bash
- name: Run tests
run:
cd GlassesUSA &&
xcodebuild test -scheme GlassesUSA -workspace GlassesUSA.xcworkspace -destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=17.2' | xcpretty && exit ${PIPESTATUS[0]}
What did you do?
Run
pod install
in yaml fileWhat did you expect to happen?
Install all pod dependencies correctly.
What happened instead?
CocoaPods Environment
ℹ Please replace these two lines with the output of
pod env
. It's pod env from my computerStack
Installation Source
Plugins
Podfile
Project that demonstrates the issue
My project contains private pod that can't be installed without GitHub authentication, so I added my Account login and access token in source "source 'ArtakYepremyan:***@github.com:6over6pods/glasseson-pods-specs-production.git'". But while running GitHub workflow I am getting error described above. here is my yaml file