Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple commands produce in XCode - 13 #832

Open
SreekanthGudisi opened this issue Jun 18, 2022 · 0 comments
Open

Multiple commands produce in XCode - 13 #832

SreekanthGudisi opened this issue Jun 18, 2022 · 0 comments

Comments

@SreekanthGudisi
Copy link

SreekanthGudisi commented Jun 18, 2022

Hi,

It is working in XCode - 12.4 not working in XCode - 13. It's giving like error, Please check it below.

Multiple commands produce '/Users/company/Library/Developer/Xcode/DerivedData/My-esrwjowomlswatbgfwnunkkehaac/Build/Products/UAT Debug-iphonesimulator/MyApp.app/Frameworks/FMDB.framework':
1) Target ‘My’ target has copy command from '/Users/company/Library/Developer/Xcode/DerivedData/My-esrwjowomlswatbgfwnunkkehaac/SourcePackages/checkouts/SharpsellCore/artifacts/FMDB.xcframework/ios-arm64_i386_x86_64-simulator/FMDB.framework' to '/Users/company/Library/Developer/Xcode/DerivedData/My-esrwjowomlswatbgfwnunkkehaac/Build/Products/UAT Debug-iphonesimulator/MyApp.app/Frameworks/FMDB.framework'
2) That command depends on command in Target 'My': script phase “[CP] Embed Pods Frameworks”

Check it below screenshot for [CP] Embed Pods Frameworks,

Screenshot 2022-06-19 at 1 21 09 AM

Check it below screenshot for the frameworks,

Screenshot 2022-06-19 at 1 16 11 AM

Check it below screenshot for the Pod file,

# Uncomment the next line to define a global platform for your project
platform :ios, '13.0'

# Comment the next line if you don't want to use dynamic frameworks
source "https://github.com/forcedotcom/SalesforceMobileSDK-iOS-Specs.git" # needs to be first
source "https://github.com/CocoaPods/Specs.git"

use_frameworks!

def common_pods
   # Pods for SalesForceSDK
   pod 'MobileSync'
   pod 'Firebase/Core'
   pod 'Firebase/Messaging'
   pod 'FirebaseAnalytics'
   pod 'Fabric', '~> 1.10.2'
   pod 'Crashlytics', '~> 3.14.0'
   pod 'Firebase/Analytics'
   pod 'AppCenter/Distribute'
   pod 'Alamofire', '~>  5.0.5'#, '~>  5.1.0'
end

target 'MyApp' do

   common_pods
  
   target 'MyAppTests' do
     inherit! :search_paths
     # Pods for testing
   end
  
   target 'MyAppUITests' do
     inherit! :search_paths
     # Pods for testing
   end
  
end

May I know where am i missing?

Thanks in Advance 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant