Skip to content

Commit

Permalink
Staticly linked framework with bitcode enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Parry committed Sep 21, 2015
1 parent 424d3cd commit 9ad8c94
Show file tree
Hide file tree
Showing 6 changed files with 371 additions and 362 deletions.
663 changes: 305 additions & 358 deletions Xcode/PDFImage.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Xcode/PDFImage/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>com.tparry.PDFImage</string>
<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.2</string>
<string>v1.1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 2 additions & 0 deletions Xcode/PDFImage/Release.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
// For more information, please refer to <http://unlicense.org/>
//

#include "StaticFramework.xcconfig"

SEPARATE_STRIP = YES
STRIP_INSTALLED_PRODUCT = YES
DEBUG_INFORMATION_FORMAT = stabs
Expand Down
60 changes: 60 additions & 0 deletions Xcode/PDFImage/StaticFramework.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
//
// This is free and unencumbered software released into the public domain.
//
// Anyone is free to copy, modify, publish, use, compile, sell, or
// distribute this software, either in source code form or as a compiled
// binary, for any purpose, commercial or non-commercial, and by any
// means.
//
// In jurisdictions that recognize copyright laws, the author or authors
// of this software dedicate any and all copyright interest in the
// software to the public domain. We make this dedication for the benefit
// of the public at large and to the detriment of our heirs and
// successors. We intend this dedication to be an overt act of
// relinquishment in perpetuity of all present and future rights to this
// software under copyright law.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
// IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
// OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
// OTHER DEALINGS IN THE SOFTWARE.
//
// For more information, please refer to <http://unlicense.org/>
//

WRAPPER_PREFIX =;
WRAPPER_SUFFIX = .framework
WRAPPER_NAME = $(WRAPPER_PREFIX)$(PRODUCT_NAME)$(WRAPPER_SUFFIX)
VERSIONS_FOLDER_PATH = $(WRAPPER_NAME)/Versions
CONTENTS_FOLDER_PATH = $(VERSIONS_FOLDER_PATH)/$(FRAMEWORK_VERSION)
FRAMEWORKS_FOLDER_PATH = $(CONTENTS_FOLDER_PATH)/Frameworks
UNLOCALIZED_RESOURCES_FOLDER_PATH = $(CONTENTS_FOLDER_PATH)/Resources
CODESIGNING_FOLDER_PATH = $(TARGET_BUILD_DIR)/$(CONTENTS_FOLDER_PATH)

CURRENT_VERSION = Current
EXECUTABLE_PREFIX =;
EXECUTABLE_SUFFIX =;
EXECUTABLE_NAME = $(EXECUTABLE_PREFIX)$(PRODUCT_NAME)$(EXECUTABLE_VARIANT_SUFFIX)$(EXECUTABLE_SUFFIX)
EXECUTABLE_FOLDER_PATH = $(CONTENTS_FOLDER_PATH)
EXECUTABLE_PATH = $(EXECUTABLE_FOLDER_PATH)/$(EXECUTABLE_NAME)
INFOPLIST_PATH = $(UNLOCALIZED_RESOURCES_FOLDER_PATH)/Info.plist;
INFOPLISTSTRINGS_PATH = $(LOCALIZED_RESOURCES_FOLDER_PATH)/InfoPlist.strings;
PKGINFO_PATH = $(WRAPPER_NAME)/PkgInfo
PBDEVELOPMENTPLIST_PATH = $(CONTENTS_FOLDER_PATH)/pbdevelopment.plist
VERSIONPLIST_PATH = $(UNLOCALIZED_RESOURCES_FOLDER_PATH)/version.plist
PUBLIC_HEADERS_FOLDER_PATH = $(CONTENTS_FOLDER_PATH)/Headers
PRIVATE_HEADERS_FOLDER_PATH = $(CONTENTS_FOLDER_PATH)/PrivateHeaders
EXECUTABLES_FOLDER_PATH = $(LOCALIZED_RESOURCES_FOLDER_PATH)
FRAMEWORKS_FOLDER_PATH = $(CONTENTS_FOLDER_PATH)/Frameworks
SHARED_FRAMEWORKS_FOLDER_PATH = $(CONTENTS_FOLDER_PATH)/SharedFrameworks
SHARED_SUPPORT_FOLDER_PATH = $(UNLOCALIZED_RESOURCES_FOLDER_PATH)
UNLOCALIZED_RESOURCES_FOLDER_PATH = $(CONTENTS_FOLDER_PATH)/Resources
LOCALIZED_RESOURCES_FOLDER_PATH = $(UNLOCALIZED_RESOURCES_FOLDER_PATH)/$(DEVELOPMENT_LANGUAGE).lproj
DOCUMENTATION_FOLDER_PATH = $(LOCALIZED_RESOURCES_FOLDER_PATH)/Documentation
PLUGINS_FOLDER_PATH = $(UNLOCALIZED_RESOURCES_FOLDER_PATH)
SCRIPTS_FOLDER_PATH = $(UNLOCALIZED_RESOURCES_FOLDER_PATH)/Scripts
JAVA_FOLDER_PATH = $(UNLOCALIZED_RESOURCES_FOLDER_PATH)/Java
CODESIGNING_FOLDER_PATH = $(TARGET_BUILD_DIR)/$(CONTENTS_FOLDER_PATH)
2 changes: 1 addition & 1 deletion Xcode/PDFImageDemo/PDFImageDemo-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.tparry.${PRODUCT_NAME:rfc1034identifier}</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand Down
2 changes: 1 addition & 1 deletion Xcode/PDFImageTests/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.tparry.$(PRODUCT_NAME:rfc1034identifier)</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand Down

0 comments on commit 9ad8c94

Please sign in to comment.