Skip to content
This repository has been archived by the owner on May 21, 2020. It is now read-only.

[Bug]Redefinding framework #66

Open
CodeEagle opened this issue Apr 18, 2017 · 2 comments
Open

[Bug]Redefinding framework #66

CodeEagle opened this issue Apr 18, 2017 · 2 comments

Comments

@CodeEagle
Copy link
Contributor

A framework with custom *.modulemap file

when build A framework inside B and C with punic,

some time will get error in project, Redefinding **** in multiple path in project B / C

@schwa
Copy link
Owner

schwa commented Apr 18, 2017

Can you provide a sample - your description is rather vague.

@CodeEagle
Copy link
Contributor Author

CodeEagle commented Apr 20, 2017

define CCommonCrypto in module A

module CCommonCrypto {
    header "/usr/include/CommonCrypto/CommonCrypto.h"
    export *
}

all punic.yaml with override-repo A to local path /xxx/A

then Module B using A, build then ,run ok
open Module C, using A too, punic update , Xcode error Redefinding Module CCommonCrypto

/***/C/Carthage/Checkouts/A/Source/CCommonCrypto/module.modulemap:1:8: error: redefinition of module 'CCommonCrypto'
module CCommonCrypto {
       ^
/***/B/Carthage/Checkouts/A/Source/CCommonCrypto/module.modulemap:1:8: note: previously defined here
module CCommonCrypto {
       ^

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

No branches or pull requests

2 participants