cocoapods-mix-frameworks icon indicating copy to clipboard operation
cocoapods-mix-frameworks copied to clipboard

Can't run the demo project

Open aelam opened this issue 7 years ago • 3 comments

First, I run pod install, there are some errors about conflicts and no platform was specified.

Then, I added platform :ios, '8.0' in Podfile. the no platform was specified is gone, but the conflicts are still there

 10:33:53  ✘  ...cocoapods-mix-frameworks/example/CocoaPods-Mix-Demo  ♦️ 2.2.4  🐍 system   master ✔ 
$ pod install
Analyzing dependencies
mix-frameworks: Skip analyze_host_targets_in_podfile
Downloading dependencies
Using Alamofire (4.4.0)
Using Fabric (1.6.11)
Using Moya (8.0.3)
Using Result (3.2.1)
[!] The 'Pods-CocoaPods-Mix-Demo' target has frameworks with conflicting names: alamofire, moya, and result.

[!] Automatically assigning platform ios with version 10.3 on target CocoaPods-Mix-Demo because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

[!] Automatically assigning platform ios with version 10.3 on target CocoaPods-Mix-Framework because no platform was specified. Please specify a platform for this target in your Podfile. See `https://  1 plugin 'cocoapods-mix-frameworks'$
guides.cocoapods.org/syntax/podfile.html#platform`.

[!] Automatically assigning platform ios with version 10.3 on target CocoaPods-Mix-Action because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

specified the platform, here is the other result

 10:35:27  ✘  ...cocoapods-mix-frameworks/example/CocoaPods-Mix-Demo  ♦️ 2.2.4  🐍 system   master ✘ ✹ 
$ pod update --no-repo-update
Update all pods
Analyzing dependencies
mix-frameworks: Skip analyze_host_targets_in_podfile
Downloading dependencies
Installing Alamofire (4.5.0)
Installing Fabric (1.6.12)
Installing Moya (8.0.5)
Installing Result (3.2.3)
[!] The 'Pods-CocoaPods-Mix-Demo' target has frameworks with conflicting names: alamofire, moya, and result.

aelam avatar Jul 17 '17 02:07 aelam

What version of cocoapods are you using?

flovilmart avatar Jul 17 '17 12:07 flovilmart

1.2.1

aelam avatar Jul 19 '17 05:07 aelam

Can you update to the latest version, I can't reproduce the issue with the latest cocoapods and plugin version.

flovilmart avatar Jan 29 '18 15:01 flovilmart