feat: prompt xcframework_name to avoid duplicate target names error in Xcode#66
feat: prompt xcframework_name to avoid duplicate target names error in Xcode#66setoelkahfi wants to merge 2 commits intoantoniusnaumann:mainfrom
xcframework_name to avoid duplicate target names error in Xcode#66Conversation
xcframework_name to avoid duplicate target names error in Xcodexcframework_name to avoid duplicate target names error in Xcode
|
I would like to avoid prompting this. Most of the time, there is no need for seeing the xcframework name, so a command line flag is sufficient. For the same reason, I will not offer a short flag here. I agree, however, that the default name should be crate specific, thanks for pointing this out! |
|
Ok. Do you want me to close this PR? Or, I can remove the things you don't like and keep the xcframework default name change. What do you think @antoniusnaumann? |
|
Hi @setoelkahfi, sorry for not getting back to you sooner. I am not sure what exactly the situation is where you are running into issues (and hence need to set the XCFramework name). I would be open to merge this PR, if the (1) prompt and (2) short flag are removed so this can be configured via a long-flag as sort of an expert feature |
Thanks for this crate!
I tried to generate multiple Swift packages and include them in one project, but Xcode complained about duplicate target names. This is because the generated
xcframeworknames are all the same. Strangely, I didn't get the prompt to supply thexcframeworkname like the package name prompt. This PR adds that prompt, with the default name being CrateName+XCFramework.