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

Error "Expected in: flat namespace" when building #30

Open
dagio opened this issue Aug 30, 2016 · 3 comments
Open

Error "Expected in: flat namespace" when building #30

dagio opened this issue Aug 30, 2016 · 3 comments

Comments

@dagio
Copy link

dagio commented Aug 30, 2016

I have the following errors when building :

[15:33:58]: ▸ 2016-08-30 15:33:58.454 xcodebuild[52822:8611461] WARNING: Failed to load plugin at path: "/Users/damiengavard/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OneSkyPlugin.xcplugin", skipping. Error: Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Users/damiengavard/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OneSkyPlugin.xcplugin/Contents/MacOS/OneSkyPlugin, 265): Symbol not found: _OBJC_CLASS_$_IDEWorkspaceWindow
[15:33:58]: ▸ Referenced from: /Users/damiengavard/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OneSkyPlugin.xcplugin/Contents/MacOS/OneSkyPlugin
[15:33:58]: ▸ Expected in: flat namespace
[15:33:58]: ▸ in /Users/damiengavard/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OneSkyPlugin.xcplugin/Contents/MacOS/OneSkyPlugin" UserInfo={NSLocalizedFailureReason=The bundle couldn’t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Users/damiengavard/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OneSkyPlugin.xcplugin/Contents/MacOS/OneSkyPlugin, NSDebugDescription=dlopen(/Users/damiengavard/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OneSkyPlugin.xcplugin/Contents/MacOS/OneSkyPlugin, 265): Symbol not found: _OBJC_CLASS_$_IDEWorkspaceWindow
[15:33:58]: ▸ Referenced from: /Users/damiengavard/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OneSkyPlugin.xcplugin/Contents/MacOS/OneSkyPlugin
[15:33:58]: ▸ Expected in: flat namespace
[15:33:58]: ▸ in /Users/damiengavard/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OneSkyPlugin.xcplugin/Contents/MacOS/OneSkyPlugin, NSBundlePath=/Users/damiengavard/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OneSkyPlugin.xcplugin, NSLocalizedDescription=The bundle “OneSkyPlugin” couldn’t be loaded.}

There are no problems with the other addons

@dagio dagio changed the title Error when building Error "Expected in: flat namespace" when building Aug 30, 2016
@bretdabaker
Copy link
Contributor

Xcode 7's plugins are loaded at launch so it shouldn't affect your building process. Can you please provide more information?

  • Which version of Xcode did you use?
  • Did you use CLI or Xcode to build?

@dagio
Copy link
Author

dagio commented Sep 15, 2016

The problem is in CLI yes.

❯ xcodebuild -workspace Livescore.xcworkspace -scheme WhatsTheScore -destination 'platform=iOS Simulator,name=iPhone 6s,OS=9.3' build
2016-09-15 10:26:48.574 xcodebuild[32630:420577] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/FuzzyAutocomplete.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-09-15 10:26:48.806 xcodebuild[32630:420577] WARNING: Failed to load plugin at path: "/Users/damiengavard/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OneSkyPlugin.xcplugin", skipping. Error: Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Users/damiengavard/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OneSkyPlugin.xcplugin/Contents/MacOS/OneSkyPlugin, 265): Symbol not found: _OBJC_CLASS_$_IDEWorkspaceWindow
  Referenced from: /Users/damiengavard/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OneSkyPlugin.xcplugin/Contents/MacOS/OneSkyPlugin
  Expected in: flat namespace
 in /Users/damiengavard/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OneSkyPlugin.xcplugin/Contents/MacOS/OneSkyPlugin" UserInfo={NSLocalizedFailureReason=The bundle couldn’t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Users/damiengavard/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OneSkyPlugin.xcplugin/Contents/MacOS/OneSkyPlugin, NSDebugDescription=dlopen(/Users/damiengavard/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OneSkyPlugin.xcplugin/Contents/MacOS/OneSkyPlugin, 265): Symbol not found: _OBJC_CLASS_$_IDEWorkspaceWindow
  Referenced from: /Users/damiengavard/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OneSkyPlugin.xcplugin/Contents/MacOS/OneSkyPlugin
  Expected in: flat namespace
 in /Users/damiengavard/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OneSkyPlugin.xcplugin/Contents/MacOS/OneSkyPlugin, NSBundlePath=/Users/damiengavard/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OneSkyPlugin.xcplugin, NSLocalizedDescription=The bundle “OneSkyPlugin” couldn’t be loaded.}
=== BUILD TARGET BNRDeferred OF PROJECT Pods WITH CONFIGURATION Debug ===

@bretdabaker
Copy link
Contributor

The warning - along with other plugin warnings - doesn't affect the build process and can be safely ignored.

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