Skip to content

Commit

Permalink
Mac: some updates from Xcode 7 (product bundle identifiers) + an atte…
Browse files Browse the repository at this point in the history
…mpt at fixing build for Xcode 6.
  • Loading branch information
mike-lischke committed Sep 22, 2015
1 parent 442dbf9 commit eec59af
Show file tree
Hide file tree
Showing 13 changed files with 42 additions and 23 deletions.
2 changes: 1 addition & 1 deletion Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<key>CFBundleIconFile</key>
<string>MySQLWorkbench.icns</string>
<key>CFBundleIdentifier</key>
<string>com.oracle.mysql.workbench</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand Down
14 changes: 13 additions & 1 deletion MySQLWorkbench.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -12727,7 +12727,7 @@
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = YES;
LastUpgradeCheck = 0640;
LastUpgradeCheck = 0700;
ORGANIZATIONNAME = "Oracle and/or its affiliates";
TargetAttributes = {
27D8079D1A3F262D00EDCA8F = {
Expand Down Expand Up @@ -15696,6 +15696,7 @@
"-framework",
SenTestingKit,
);
PRODUCT_BUNDLE_IDENTIFIER = "com.oracle.mysql.workbench.${PRODUCT_NAME:identifier}";
PRODUCT_NAME = UnitTests;
SKIP_INSTALL = YES;
WRAPPER_EXTENSION = octest;
Expand All @@ -15722,6 +15723,7 @@
"-framework",
SenTestingKit,
);
PRODUCT_BUNDLE_IDENTIFIER = "com.oracle.mysql.workbench.${PRODUCT_NAME:identifier}";
PRODUCT_NAME = UnitTests;
SKIP_INSTALL = YES;
WRAPPER_EXTENSION = octest;
Expand Down Expand Up @@ -16001,6 +16003,7 @@
"-framework",
AppKit,
);
PRODUCT_BUNDLE_IDENTIFIER = com.oracle.mysql.workbench.wbmodeleditors;
PRODUCT_NAME = wb.model.editors;
SKIP_INSTALL = YES;
WRAPPER_EXTENSION = mwbplugin;
Expand Down Expand Up @@ -16043,6 +16046,7 @@
"-framework",
AppKit,
);
PRODUCT_BUNDLE_IDENTIFIER = com.oracle.mysql.workbench.wbmodeleditors;
PRODUCT_NAME = wb.model.editors;
SKIP_INSTALL = YES;
WRAPPER_EXTENSION = mwbplugin;
Expand Down Expand Up @@ -16586,6 +16590,7 @@
"-framework",
AppKit,
);
PRODUCT_BUNDLE_IDENTIFIER = com.oracle.mysql.workbench.dbmysqleditors;
PRODUCT_NAME = db.mysql.editors;
SKIP_INSTALL = YES;
WRAPPER_EXTENSION = mwbplugin;
Expand Down Expand Up @@ -16631,6 +16636,7 @@
"-framework",
AppKit,
);
PRODUCT_BUNDLE_IDENTIFIER = com.oracle.mysql.workbench.dbmysqleditors;
PRODUCT_NAME = db.mysql.editors;
SKIP_INSTALL = YES;
WRAPPER_EXTENSION = mwbplugin;
Expand Down Expand Up @@ -17266,6 +17272,7 @@
"-framework",
AppKit,
);
PRODUCT_BUNDLE_IDENTIFIER = com.oracle.mysql.workbench.wbprinting;
PRODUCT_NAME = wb.printing;
SKIP_INSTALL = YES;
WRAPPER_EXTENSION = mwbplugin;
Expand Down Expand Up @@ -17298,6 +17305,7 @@
"-framework",
AppKit,
);
PRODUCT_BUNDLE_IDENTIFIER = com.oracle.mysql.workbench.wbprinting;
PRODUCT_NAME = wb.printing;
SKIP_INSTALL = YES;
WRAPPER_EXTENSION = mwbplugin;
Expand Down Expand Up @@ -17581,6 +17589,7 @@
"-framework",
AppKit,
);
PRODUCT_BUNDLE_IDENTIFIER = "com.oracle.mysql.workbench.${PRODUCT_NAME:identifier}";
PRODUCT_NAME = WBExtras;
SKIP_INSTALL = YES;
};
Expand Down Expand Up @@ -17631,6 +17640,7 @@
"-framework",
AppKit,
);
PRODUCT_BUNDLE_IDENTIFIER = "com.oracle.mysql.workbench.${PRODUCT_NAME:identifier}";
PRODUCT_NAME = WBExtras;
SKIP_INSTALL = YES;
ZERO_LINK = NO;
Expand Down Expand Up @@ -18027,6 +18037,7 @@
INSTALL_PATH = "$(HOME)/Applications";
ONLY_ACTIVE_ARCH = NO;
OTHER_CODE_SIGN_FLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.oracle.mysql.workbench;
PRODUCT_NAME = MySQLWorkbench;
SDKROOT = macosx;
VALID_ARCHS = "i386 x86_64";
Expand Down Expand Up @@ -18076,6 +18087,7 @@
INSTALL_PATH = "$(HOME)/Applications";
ONLY_ACTIVE_ARCH = NO;
OTHER_CODE_SIGN_FLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.oracle.mysql.workbench;
PRODUCT_NAME = MySQLWorkbench;
SDKROOT = macosx;
STRIP_INSTALLED_PRODUCT = YES;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0640"
LastUpgradeVersion = "0700"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -41,10 +41,10 @@
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "NO"
buildConfiguration = "Debug">
shouldUseLaunchSchemeArgsEnv = "NO">
<Testables>
<TestableReference
skipped = "YES">
Expand All @@ -66,15 +66,18 @@
ReferencedContainer = "container:MySQLWorkbench.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "NO"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
Expand All @@ -100,10 +103,10 @@
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0640"
LastUpgradeVersion = "0700"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -111,10 +111,10 @@
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
Expand All @@ -126,15 +126,18 @@
ReferencedContainer = "container:MySQLWorkbench.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "NO"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
Expand All @@ -150,10 +153,10 @@
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Debug"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
Expand Down
2 changes: 1 addition & 1 deletion UnitTests-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.oracle.mysql.workbench.${PRODUCT_NAME:identifier}</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
Expand Down
2 changes: 1 addition & 1 deletion WBExtras-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.oracle.mysql.workbench.${PRODUCT_NAME:identifier}</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
Expand Down
2 changes: 1 addition & 1 deletion ext/scintilla/cocoa/ScintillaFramework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>com.sun.${PRODUCT_NAME:identifier}</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@
0867D690FE84028FC02AAC07 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0620;
LastUpgradeCheck = 0700;
};
buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "ScintillaFramework" */;
compatibilityVersion = "Xcode 3.2";
Expand Down Expand Up @@ -712,6 +712,7 @@
GCC_WARN_UNUSED_LABEL = YES;
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "@executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.sun.${PRODUCT_NAME:identifier}";
PRODUCT_NAME = Scintilla;
SKIP_INSTALL = YES;
WRAPPER_EXTENSION = framework;
Expand Down Expand Up @@ -740,6 +741,7 @@
GCC_WARN_UNUSED_LABEL = YES;
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "@executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.sun.${PRODUCT_NAME:identifier}";
PRODUCT_NAME = Scintilla;
SKIP_INSTALL = YES;
WRAPPER_EXTENSION = framework;
Expand Down
3 changes: 0 additions & 3 deletions library/forms/cocoa/MFWebBrowser.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
* 02110-1301 USA
*/

#import <Cocoa/Cocoa.h>
#import <WebKit/WebKit.h>

#import "MFView.h"
#import "mforms/WebBrowser.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.oracle.mysql.workbench.dbmysqleditors</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.oracle.mysql.workbench.wbmodeleditors</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
Expand Down
2 changes: 1 addition & 1 deletion plugins/wb.printing/macosx/wb.printing-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.oracle.mysql.workbench.wbprinting</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
Expand Down
4 changes: 3 additions & 1 deletion prefix/mforms_prefix.pch
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Prefix header for a target.

#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#import <Cocoa/Cocoa.h>
#import <WebKit/WebKit.h>

#endif

#ifdef __cplusplus
Expand Down

0 comments on commit eec59af

Please sign in to comment.