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

KeyErrer : productRefGroup #109

Open
jinwoo-lee-github opened this issue Nov 10, 2012 · 2 comments
Open

KeyErrer : productRefGroup #109

jinwoo-lee-github opened this issue Nov 10, 2012 · 2 comments

Comments

@jinwoo-lee-github
Copy link

Currently using MK8 on Xcode 4.5.2 (4G2008a) to build a Real Framework.

UFW (M iphonesimulator): ERROR: Build failed
Traceback (most recent call last):
File "/Users/whdvl/Library/Developer/Xcode/DerivedData/ATGFramework-ios-fbkkuxxvkpeqojdnindskwamzllj/Build/Intermediates/ATGFramework-ios.build/Debug-iphonesimulator/ATGFramework-ios.build/Script-C00790C2164EBD9B005D9BD1.sh", line 804, in
run_build()
File "/Users/whdvl/Library/Developer/Xcode/DerivedData/ATGFramework-ios-fbkkuxxvkpeqojdnindskwamzllj/Build/Intermediates/ATGFramework-ios.build/Debug-iphonesimulator/ATGFramework-ios.build/Script-C00790C2164EBD9B005D9BD1.sh", line 737, in run_build
project = Project(os.path.join(os.environ['PROJECT_FILE_PATH'], "project.pbxproj"))
File "/Users/whdvl/Library/Developer/Xcode/DerivedData/ATGFramework-ios-fbkkuxxvkpeqojdnindskwamzllj/Build/Intermediates/ATGFramework-ios.build/Debug-iphonesimulator/ATGFramework-ios.build/Script-C00790C2164EBD9B005D9BD1.sh", line 195, in init
self.project_data = self.load_from_file(filename)
File "/Users/whdvl/Library/Developer/Xcode/DerivedData/ATGFramework-ios-fbkkuxxvkpeqojdnindskwamzllj/Build/Intermediates/ATGFramework-ios.build/Debug-iphonesimulator/ATGFramework-ios.build/Script-C00790C2164EBD9B005D9BD1.sh", line 232, in load_from_file
self.build_full_paths(project_data, splitpath(os.environ['SOURCE_ROOT']))
File "/Users/whdvl/Library/Developer/Xcode/DerivedData/ATGFramework-ios-fbkkuxxvkpeqojdnindskwamzllj/Build/Intermediates/ATGFramework-ios.build/Debug-iphonesimulator/ATGFramework-ios.build/Script-C00790C2164EBD9B005D9BD1.sh", line 280, in build_full_paths
self.build_full_paths(node['productRefGroup'], base_path)
KeyError: 'productRefGroup'
Command /bin/sh failed with exit code 1

@tianyouhui
Copy link

So was I, and has it been resolved?

@ghost
Copy link

ghost commented Apr 24, 2014

Open build phases -> Run Script and delete "self.build_full_paths(node['productRefGroup'], base_path)" at line 279 of the script.
That worked for me. My framework builds fine now.

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

2 participants