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

Added framework target for Carthage compatibility #25

Merged
merged 1 commit into from
Jun 1, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
174 changes: 174 additions & 0 deletions Rollbar.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,22 @@
/* End PBXAggregateTarget section */

/* Begin PBXBuildFile section */
343AB4551CC9AAE600962943 /* RollbarFramework.h in Headers */ = {isa = PBXBuildFile; fileRef = 343AB4541CC9AAE600962943 /* RollbarFramework.h */; settings = {ATTRIBUTES = (Public, ); }; };
343AB45A1CC9AAF400962943 /* Rollbar.h in Headers */ = {isa = PBXBuildFile; fileRef = 96D2221218D8E40600933444 /* Rollbar.h */; settings = {ATTRIBUTES = (Public, ); }; };
343AB45B1CC9AAF400962943 /* Rollbar.m in Sources */ = {isa = PBXBuildFile; fileRef = 96D2221418D8E40600933444 /* Rollbar.m */; };
343AB45C1CC9AAF400962943 /* RollbarNotifier.h in Headers */ = {isa = PBXBuildFile; fileRef = 96D2223318D8E51600933444 /* RollbarNotifier.h */; settings = {ATTRIBUTES = (Public, ); }; };
343AB45D1CC9AAF400962943 /* RollbarNotifier.m in Sources */ = {isa = PBXBuildFile; fileRef = 96D2223418D8E51600933444 /* RollbarNotifier.m */; };
343AB45E1CC9AAF400962943 /* RollbarConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = 9630826318DCDDC000256154 /* RollbarConfiguration.h */; settings = {ATTRIBUTES = (Public, ); }; };
343AB45F1CC9AAF400962943 /* RollbarConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 9630826418DCDDC000256154 /* RollbarConfiguration.m */; };
343AB4601CC9AAF400962943 /* RollbarThread.h in Headers */ = {isa = PBXBuildFile; fileRef = 966CD46C18F4E4C3005A8F2D /* RollbarThread.h */; settings = {ATTRIBUTES = (Public, ); }; };
343AB4611CC9AAF400962943 /* RollbarThread.m in Sources */ = {isa = PBXBuildFile; fileRef = 966CD46D18F4E4C3005A8F2D /* RollbarThread.m */; };
343AB4621CC9AAF400962943 /* RollbarFileReader.h in Headers */ = {isa = PBXBuildFile; fileRef = 96DBB58F18FDFED8007CFE13 /* RollbarFileReader.h */; settings = {ATTRIBUTES = (Public, ); }; };
343AB4631CC9AAF400962943 /* RollbarFileReader.m in Sources */ = {isa = PBXBuildFile; fileRef = 96DBB59018FDFED8007CFE13 /* RollbarFileReader.m */; };
343AB4641CC9AAF400962943 /* RollbarReachability.h in Headers */ = {isa = PBXBuildFile; fileRef = 96AB9E06191B10AE00F0168A /* RollbarReachability.h */; settings = {ATTRIBUTES = (Public, ); }; };
343AB4651CC9AAF400962943 /* RollbarReachability.m in Sources */ = {isa = PBXBuildFile; fileRef = 96AB9E07191B10AE00F0168A /* RollbarReachability.m */; };
343AB4661CC9AAF400962943 /* RollbarLogger.h in Headers */ = {isa = PBXBuildFile; fileRef = 96AB9E14191C0B4000F0168A /* RollbarLogger.h */; settings = {ATTRIBUTES = (Public, ); }; };
343AB4671CC9AAF400962943 /* RollbarLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = 96AB9E15191C0B4000F0168A /* RollbarLogger.m */; };
343AB4691CC9AEDD00962943 /* CrashReporter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 963081C618DCDBCD00256154 /* CrashReporter.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
963081C718DCDBCD00256154 /* CrashReporter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 963081C618DCDBCD00256154 /* CrashReporter.framework */; };
9630826518DCDDC000256154 /* RollbarConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 9630826418DCDDC000256154 /* RollbarConfiguration.m */; };
966CD46E18F4E4C3005A8F2D /* RollbarThread.h in Headers */ = {isa = PBXBuildFile; fileRef = 966CD46C18F4E4C3005A8F2D /* RollbarThread.h */; };
Expand Down Expand Up @@ -80,6 +96,9 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
343AB4521CC9AAE600962943 /* Rollbar.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Rollbar.framework; sourceTree = BUILT_PRODUCTS_DIR; };
343AB4541CC9AAE600962943 /* RollbarFramework.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RollbarFramework.h; sourceTree = "<group>"; };
343AB4561CC9AAE600962943 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
963081C618DCDBCD00256154 /* CrashReporter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = CrashReporter.framework; sourceTree = "<group>"; };
9630826318DCDDC000256154 /* RollbarConfiguration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RollbarConfiguration.h; sourceTree = "<group>"; };
9630826418DCDDC000256154 /* RollbarConfiguration.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RollbarConfiguration.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -108,6 +127,14 @@
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
343AB44E1CC9AAE600962943 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
343AB4691CC9AEDD00962943 /* CrashReporter.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
96D2220718D8E40600933444 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
Expand All @@ -132,6 +159,15 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
343AB4531CC9AAE600962943 /* RollbarFramework */ = {
isa = PBXGroup;
children = (
343AB4541CC9AAE600962943 /* RollbarFramework.h */,
343AB4561CC9AAE600962943 /* Info.plist */,
);
path = RollbarFramework;
sourceTree = "<group>";
};
963075B118DCD69700256154 /* Vendor */ = {
isa = PBXGroup;
children = (
Expand All @@ -146,6 +182,7 @@
963075B118DCD69700256154 /* Vendor */,
96D2220F18D8E40600933444 /* Rollbar */,
96D2222318D8E40600933444 /* RollbarTests */,
343AB4531CC9AAE600962943 /* RollbarFramework */,
96D2220C18D8E40600933444 /* Frameworks */,
96D2220B18D8E40600933444 /* Products */,
);
Expand All @@ -156,6 +193,7 @@
children = (
96D2220A18D8E40600933444 /* libRollbar.a */,
96D2221A18D8E40600933444 /* RollbarTests.xctest */,
343AB4521CC9AAE600962943 /* Rollbar.framework */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -222,6 +260,21 @@
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
343AB44F1CC9AAE600962943 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
343AB4551CC9AAE600962943 /* RollbarFramework.h in Headers */,
343AB4641CC9AAF400962943 /* RollbarReachability.h in Headers */,
343AB45A1CC9AAF400962943 /* Rollbar.h in Headers */,
343AB4661CC9AAF400962943 /* RollbarLogger.h in Headers */,
343AB45E1CC9AAF400962943 /* RollbarConfiguration.h in Headers */,
343AB4601CC9AAF400962943 /* RollbarThread.h in Headers */,
343AB4621CC9AAF400962943 /* RollbarFileReader.h in Headers */,
343AB45C1CC9AAF400962943 /* RollbarNotifier.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
9691838218E4EAEF00DE3699 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
Expand All @@ -238,6 +291,24 @@
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
343AB4511CC9AAE600962943 /* RollbarFramework */ = {
isa = PBXNativeTarget;
buildConfigurationList = 343AB4591CC9AAE600962943 /* Build configuration list for PBXNativeTarget "RollbarFramework" */;
buildPhases = (
343AB44D1CC9AAE600962943 /* Sources */,
343AB44E1CC9AAE600962943 /* Frameworks */,
343AB44F1CC9AAE600962943 /* Headers */,
343AB4501CC9AAE600962943 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = RollbarFramework;
productName = RollbarFramework;
productReference = 343AB4521CC9AAE600962943 /* Rollbar.framework */;
productType = "com.apple.product-type.framework";
};
96D2220918D8E40600933444 /* Rollbar */ = {
isa = PBXNativeTarget;
buildConfigurationList = 96D2222D18D8E40600933444 /* Build configuration list for PBXNativeTarget "Rollbar" */;
Expand Down Expand Up @@ -283,6 +354,11 @@
attributes = {
LastUpgradeCheck = 0510;
ORGANIZATIONNAME = Rollbar;
TargetAttributes = {
343AB4511CC9AAE600962943 = {
CreatedOnToolsVersion = 7.3;
};
};
};
buildConfigurationList = 96D2220518D8E40600933444 /* Build configuration list for PBXProject "Rollbar" */;
compatibilityVersion = "Xcode 3.2";
Expand Down Expand Up @@ -318,11 +394,19 @@
96D2220918D8E40600933444 /* Rollbar */,
96D2221918D8E40600933444 /* RollbarTests */,
96150F6918EB9CE6004CBC34 /* Distribution */,
343AB4511CC9AAE600962943 /* RollbarFramework */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
343AB4501CC9AAE600962943 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
96D2221818D8E40600933444 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -365,6 +449,20 @@
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
343AB44D1CC9AAE600962943 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
343AB4671CC9AAF400962943 /* RollbarLogger.m in Sources */,
343AB4611CC9AAF400962943 /* RollbarThread.m in Sources */,
343AB4631CC9AAF400962943 /* RollbarFileReader.m in Sources */,
343AB45D1CC9AAF400962943 /* RollbarNotifier.m in Sources */,
343AB45F1CC9AAF400962943 /* RollbarConfiguration.m in Sources */,
343AB45B1CC9AAF400962943 /* Rollbar.m in Sources */,
343AB4651CC9AAF400962943 /* RollbarReachability.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
96D2220618D8E40600933444 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -414,6 +512,73 @@
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
343AB4571CC9AAE600962943 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_BITCODE = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Vendor",
);
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = RollbarFramework/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.rollbar.Rollbar;
PRODUCT_NAME = Rollbar;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
343AB4581CC9AAE600962943 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_BITCODE = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Vendor",
);
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = RollbarFramework/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.rollbar.Rollbar;
PRODUCT_NAME = Rollbar;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
96150F6B18EB9CE6004CBC34 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
Expand Down Expand Up @@ -585,6 +750,15 @@
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
343AB4591CC9AAE600962943 /* Build configuration list for PBXNativeTarget "RollbarFramework" */ = {
isa = XCConfigurationList;
buildConfigurations = (
343AB4571CC9AAE600962943 /* Debug */,
343AB4581CC9AAE600962943 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
96150F6A18EB9CE6004CBC34 /* Build configuration list for PBXAggregateTarget "Distribution" */ = {
isa = XCConfigurationList;
buildConfigurations = (
Expand Down
80 changes: 80 additions & 0 deletions Rollbar.xcodeproj/xcshareddata/xcschemes/RollbarFramework.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0730"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "343AB4511CC9AAE600962943"
BuildableName = "Rollbar.framework"
BlueprintName = "RollbarFramework"
ReferencedContainer = "container:Rollbar.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "343AB4511CC9AAE600962943"
BuildableName = "Rollbar.framework"
BlueprintName = "RollbarFramework"
ReferencedContainer = "container:Rollbar.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "343AB4511CC9AAE600962943"
BuildableName = "Rollbar.framework"
BlueprintName = "RollbarFramework"
ReferencedContainer = "container:Rollbar.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
26 changes: 26 additions & 0 deletions RollbarFramework/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
17 changes: 17 additions & 0 deletions RollbarFramework/RollbarFramework.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#import <UIKit/UIKit.h>

//! Project version number for RollbarFramework.
FOUNDATION_EXPORT double RollbarFrameworkVersionNumber;

//! Project version string for RollbarFramework.
FOUNDATION_EXPORT const unsigned char RollbarFrameworkVersionString[];

@import CrashReporter;

#import <RollbarFramework/Rollbar.h>
#import <RollbarFramework/RollbarNotifier.h>
#import <RollbarFramework/RollbarConfiguration.h>
#import <RollbarFramework/RollbarThread.h>
#import <RollbarFramework/RollbarFileReader.h>
#import <RollbarFramework/RollbarReachability.h>
#import <RollbarFramework/RollbarLogger.h>