Closed Jeehut closed 8 years ago
Just commented out that dependency, now getting the same for SVProgressHUD. Seems like an issue that affects many projects.
Using punic update --configuration None
helped getting the builds going.
Maybe we should fallback to None if no Release/Debug exists?
I'm not entirely sure what's going with the Facebook project but if you enforce a configuration you can get it to build:
punic update --configuration Release
(or debug)
You generally don't want to rely on the default Configuration anyways. It's really up to the framework maintainer to set a configuration and it could be Debug or Release (although it's usually the latter). If you specify it yourself you have way more control.
You can create a default for punic by setting it in a punic.yaml file (see README).
Same thing for the SVProgressHUD project. Manually specify a configuration and things work fine.
schwa@ungoliant ~/Desktop> punic clean --all
Clean
Erasing Carthage/Build directory
Erasing derived data directory
Erasing /Users/schwa/Library/Application Support/io.schwa.Punic/repo_cache
Erasing run cache
schwa@ungoliant ~/Desktop> mkdir Test4
schwa@ungoliant ~/Desktop> cd Test4
schwa@ungoliant ~/D/Test4> echo 'github "SVProgressHUD/SVProgressHUD"' > Cartfile
schwa@ungoliant ~/D/Test4> punic update --configuration Debug
Update
Using xcode version: /Applications/Xcode.app (7.3.1)
Building: SVProgressHUD.xcodeproj (scheme: SVProgressHUD-Framework, sdk: iphoneos, configuration: Debug)...
Building: SVProgressHUD.xcodeproj (scheme: SVProgressHUD-Framework, sdk: iphonesimulator, configuration: Debug)...
See #7. Thanks.
Also fixed in 0.1.14. Thanks.
@schwa Thanks for all the answers. I actually had a configuration file in place but I just found out that it was named punic.yml
not punic.yaml
– my bad. Would be great if punic was robust in that way though as .yml
is a perfectly valid yaml file extension.
Here's my Cartfile content:
Here's what I run:
Here's my output:
Somehow FBSnapshotTestCase seems not to build. Did I configure anything wrong?
Looks like a bug to me...