Skip to content

Commit

Permalink
Dynamic framework is changed to static framework.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill Makankov committed Jan 10, 2015
1 parent e87e434 commit cbb3f49
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,9 @@
64DDA74E188FD7D10025590D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6400DDEA180C5DE000443362 /* Main.storyboard */; };
64DDA75B188FD9140025590D /* tessdata in Resources */ = {isa = PBXBuildFile; fileRef = 64DDA75A188FD9140025590D /* tessdata */; };
64E40AB1180C6D4D00C36DDE /* libstdc++.6.0.9.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 64E40AB0180C6D4D00C36DDE /* libstdc++.6.0.9.dylib */; };
73BE4C121A598F86002C15F1 /* TesseractOCR.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73C0A7BE1A59565100D823D4 /* TesseractOCR.framework */; };
73BE4C131A598F86002C15F1 /* TesseractOCR.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 73C0A7BE1A59565100D823D4 /* TesseractOCR.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
73BE4C421A5D83AB002C15F1 /* TesseractOCR.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73BE4C411A5D83AB002C15F1 /* TesseractOCR.framework */; };
/* End PBXBuildFile section */

/* Begin PBXCopyFilesBuildPhase section */
73BE4C141A598F86002C15F1 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
73BE4C131A598F86002C15F1 /* TesseractOCR.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
428615B61845F340005D5A2E /* image_sample.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = image_sample.jpg; sourceTree = "<group>"; };
6400DDD5180C5DE000443362 /* Template Framework Project.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Template Framework Project.app"; sourceTree = BUILT_PRODUCTS_DIR; };
Expand All @@ -57,6 +42,7 @@
6490748F198A5CD500D728CC /* CoreImage.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreImage.framework; path = System/Library/Frameworks/CoreImage.framework; sourceTree = SDKROOT; };
64DDA75A188FD9140025590D /* tessdata */ = {isa = PBXFileReference; lastKnownFileType = folder; path = tessdata; sourceTree = "<group>"; };
64E40AB0180C6D4D00C36DDE /* libstdc++.6.0.9.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = "libstdc++.6.0.9.dylib"; path = "usr/lib/libstdc++.6.0.9.dylib"; sourceTree = SDKROOT; };
73BE4C411A5D83AB002C15F1 /* TesseractOCR.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = TesseractOCR.framework; path = "../build/Debug-iphoneos/TesseractOCR.framework"; sourceTree = "<group>"; };
73C0A7BE1A59565100D823D4 /* TesseractOCR.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = TesseractOCR.framework; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

Expand All @@ -65,11 +51,11 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
73BE4C421A5D83AB002C15F1 /* TesseractOCR.framework in Frameworks */,
64907490198A5CD500D728CC /* CoreImage.framework in Frameworks */,
64E40AB1180C6D4D00C36DDE /* libstdc++.6.0.9.dylib in Frameworks */,
6400DDDB180C5DE000443362 /* CoreGraphics.framework in Frameworks */,
6400DDDD180C5DE000443362 /* UIKit.framework in Frameworks */,
73BE4C121A598F86002C15F1 /* TesseractOCR.framework in Frameworks */,
6400DDD9180C5DE000443362 /* Foundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -97,6 +83,7 @@
6400DDD7180C5DE000443362 /* Frameworks */ = {
isa = PBXGroup;
children = (
73BE4C411A5D83AB002C15F1 /* TesseractOCR.framework */,
73C0A7BE1A59565100D823D4 /* TesseractOCR.framework */,
6490748F198A5CD500D728CC /* CoreImage.framework */,
64E40AB0180C6D4D00C36DDE /* libstdc++.6.0.9.dylib */,
Expand Down Expand Up @@ -144,7 +131,6 @@
6400DDD1180C5DE000443362 /* Sources */,
6400DDD2180C5DE000443362 /* Frameworks */,
6400DDD3180C5DE000443362 /* Resources */,
73BE4C141A598F86002C15F1 /* Embed Frameworks */,
);
buildRules = (
);
Expand Down Expand Up @@ -322,6 +308,10 @@
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = (
"-lstdc++",
"-ObjC",
);
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
Expand All @@ -342,6 +332,10 @@
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
ONLY_ACTIVE_ARCH = NO;
OTHER_LDFLAGS = (
"-lstdc++",
"-ObjC",
);
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
Expand Down
2 changes: 2 additions & 0 deletions Tesseract OCR iOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,7 @@
"$(inherited)",
"$(PROJECT_DIR)/TesseractOCR/lib",
);
MACH_O_TYPE = staticlib;
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand Down Expand Up @@ -704,6 +705,7 @@
"$(inherited)",
"$(PROJECT_DIR)/TesseractOCR/lib",
);
MACH_O_TYPE = staticlib;
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand Down
10 changes: 8 additions & 2 deletions TestsProject/TestsProject.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,10 @@
INFOPLIST_FILE = TestsProject/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_LDFLAGS = "-lstdc++";
OTHER_LDFLAGS = (
"-lstdc++",
"-ObjC",
);
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
Expand All @@ -512,7 +515,10 @@
INFOPLIST_FILE = TestsProject/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_LDFLAGS = "-lstdc++";
OTHER_LDFLAGS = (
"-lstdc++",
"-ObjC",
);
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
Expand Down

0 comments on commit cbb3f49

Please sign in to comment.