With the debug version works. But with the release version symbols appear dont be exported and xcode throw errors that symbols not found. But with debug version of framework works. The difference is only the xcodebuild call, one is with configuration Debug and other is Release.