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

better guidance for conditionally including framework - script suggestion #101

Closed
8secz-johndpope opened this issue Jul 23, 2020 · 5 comments

Comments

@8secz-johndpope
Copy link
Contributor

8secz-johndpope commented Jul 23, 2020

UPDATE/ got it all working

some suggestions - point users to this link
https://raw.githubusercontent.com/CocoaDebug/CocoaDebug/master/CocoaDebug/copy_and_codesign.sh

Save to a Build-Phases folder
chmod +x copy_and_codesign.sh
to allow it to run

Screen Shot 2020-07-23 at 10 39 00 pm

include in the run script
$SRCROOT/Build-Phases/cocoadebug_copy_and_codesign.sh

the actual framework can be spat out using cocoa pods by temporarily adding cocoa pods
then just grab it from DerivedData
~/Library/Developer/Xcode/DerivedData

NOTE - it would be best if this was included in official releases on this site.

@8secz-johndpope
Copy link
Contributor Author

8secz-johndpope commented Jul 23, 2020

is the webpage out of date above? can cocoapods do this just by this
pod 'CocoaDebug', :configurations => ['Debug']

@CocoaDebug
Copy link
Owner

pod 'CocoaDebug', :configurations => ['Debug']

Yes, Sure.

@CocoaDebug
Copy link
Owner

NOTE - it would be best if this was included in official releases on this site.

I will fix this soon, thanks~

@bogdancochioras
Copy link

@8secz-johndpope Any idea how the script can be updated for xcframework?

@8secz-johndpope
Copy link
Contributor Author

not sure - I abandoned this approach and just use the vanilla
pod 'CocoaDebug', :configurations => ['Debug']

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

3 participants