0002-Fix-linking-within-the-iOS-context.patch 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. From 27b906783eaba79bd5ae71f5bfb61a3038c8dd06 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
  3. Date: Tue, 4 Feb 2014 14:53:50 +0100
  4. Subject: [PATCH 2/2] Fix linking within the iOS context
  5. ---
  6. CrashReporter.xcodeproj/project.pbxproj | 38 ++++++++++++++++-----------------
  7. 1 file changed, 18 insertions(+), 20 deletions(-)
  8. diff --git a/CrashReporter.xcodeproj/project.pbxproj b/CrashReporter.xcodeproj/project.pbxproj
  9. index ebcab5d..1467b3c 100644
  10. --- a/CrashReporter.xcodeproj/project.pbxproj
  11. +++ b/CrashReporter.xcodeproj/project.pbxproj
  12. @@ -108,9 +108,9 @@
  13. 052951F01696A461006EDA8A /* PLCrashLogWriterEncodingTests.proto in Sources */ = {isa = PBXBuildFile; fileRef = 052951EE1696A461006EDA8A /* PLCrashLogWriterEncodingTests.proto */; };
  14. 052951F11696A461006EDA8A /* PLCrashLogWriterEncodingTests.proto in Sources */ = {isa = PBXBuildFile; fileRef = 052951EE1696A461006EDA8A /* PLCrashLogWriterEncodingTests.proto */; };
  15. 052A45DA1363542800987004 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 05F40CF10EF7AC0E008050CF /* main.m */; };
  16. - 052A46271363553A00987004 /* libCrashReporter-iphoneos.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 05CD31520EE936A9000FDE88 /* libCrashReporter-iphoneos.a */; };
  17. + 052A46271363553A00987004 /* libCrashReporter.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 05CD31520EE936A9000FDE88 /* libCrashReporter.a */; };
  18. 052A4649136355FD00987004 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 05F40CF10EF7AC0E008050CF /* main.m */; };
  19. - 052A46561363561B00987004 /* libCrashReporter-iphonesimulator.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 05CD31630EE93905000FDE88 /* libCrashReporter-iphonesimulator.a */; };
  20. + 052A46561363561B00987004 /* libCrashReporter.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 05CD31630EE93905000FDE88 /* libCrashReporter.a */; };
  21. 052A46BE1363650100987004 /* PLCrashAsyncImageList.h in Headers */ = {isa = PBXBuildFile; fileRef = 052A46BC1363650100987004 /* PLCrashAsyncImageList.h */; };
  22. 052A46BF1363650100987004 /* PLCrashAsyncImageList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 052A46BD1363650100987004 /* PLCrashAsyncImageList.cpp */; };
  23. 052A46C01363650100987004 /* PLCrashAsyncImageList.h in Headers */ = {isa = PBXBuildFile; fileRef = 052A46BC1363650100987004 /* PLCrashAsyncImageList.h */; };
  24. @@ -166,7 +166,7 @@
  25. 05507A531784DEE4009D5168 /* unwind_test_x86_frame.S in Sources */ = {isa = PBXBuildFile; fileRef = 05507A521784DEE4009D5168 /* unwind_test_x86_frame.S */; settings = {COMPILER_FLAGS = "-fexceptions"; }; };
  26. 05507A541784DEE4009D5168 /* unwind_test_x86_frame.S in Sources */ = {isa = PBXBuildFile; fileRef = 05507A521784DEE4009D5168 /* unwind_test_x86_frame.S */; };
  27. 05507A551784DEE4009D5168 /* unwind_test_x86_frame.S in Sources */ = {isa = PBXBuildFile; fileRef = 05507A521784DEE4009D5168 /* unwind_test_x86_frame.S */; };
  28. - 0550A1100EECFEDC0037F7C3 /* libCrashReporter-iphonesimulator.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 05CD31630EE93905000FDE88 /* libCrashReporter-iphonesimulator.a */; };
  29. + 0550A1100EECFEDC0037F7C3 /* libCrashReporter.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 05CD31630EE93905000FDE88 /* libCrashReporter.a */; };
  30. 05654F770EFA5B54004283F5 /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 05654F760EFA5B54004283F5 /* CoreServices.framework */; };
  31. 05654F780EFA5B54004283F5 /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 05654F760EFA5B54004283F5 /* CoreServices.framework */; };
  32. 05654F790EFA5B54004283F5 /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 05654F760EFA5B54004283F5 /* CoreServices.framework */; };
  33. @@ -187,7 +187,7 @@
  34. 0573B4311681098E00395F2A /* PLCrashMachExceptionServer.m in Sources */ = {isa = PBXBuildFile; fileRef = 0573B42B1681098E00395F2A /* PLCrashMachExceptionServer.m */; };
  35. 0573B4321681098E00395F2A /* PLCrashMachExceptionServer.m in Sources */ = {isa = PBXBuildFile; fileRef = 0573B42B1681098E00395F2A /* PLCrashMachExceptionServer.m */; };
  36. 0573B4331681098E00395F2A /* PLCrashMachExceptionServer.m in Sources */ = {isa = PBXBuildFile; fileRef = 0573B42B1681098E00395F2A /* PLCrashMachExceptionServer.m */; };
  37. - 0573B43416810AB400395F2A /* libCrashReporter-iphoneos.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 05CD31520EE936A9000FDE88 /* libCrashReporter-iphoneos.a */; };
  38. + 0573B43416810AB400395F2A /* libCrashReporter.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 05CD31520EE936A9000FDE88 /* libCrashReporter.a */; };
  39. 0573B4481681107F00395F2A /* PLCrashReportRegisterInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 05D9E54E16765A0200B39833 /* PLCrashReportRegisterInfo.h */; settings = {ATTRIBUTES = (Public, ); }; };
  40. 0573B4491681108200395F2A /* PLCrashReportStackFrameInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 05D9E5431676598200B39833 /* PLCrashReportStackFrameInfo.h */; settings = {ATTRIBUTES = (Public, ); }; };
  41. 0573B44A1681108500395F2A /* PLCrashReportSymbolInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 05D9E55916765D0200B39833 /* PLCrashReportSymbolInfo.h */; settings = {ATTRIBUTES = (Public, ); }; };
  42. @@ -1230,8 +1230,8 @@
  43. 05C76DC6176FBAF300E9B10D /* PLCrashAsyncDwarfCFAState.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PLCrashAsyncDwarfCFAState.cpp; sourceTree = "<group>"; };
  44. 05C76DC7176FBAF300E9B10D /* PLCrashAsyncDwarfCFAState.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = PLCrashAsyncDwarfCFAState.hpp; sourceTree = "<group>"; };
  45. 05C76DD3176FBC1E00E9B10D /* PLCrashAsyncDwarfCFAStateTests.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = PLCrashAsyncDwarfCFAStateTests.mm; sourceTree = "<group>"; };
  46. - 05CD31520EE936A9000FDE88 /* libCrashReporter-iphoneos.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libCrashReporter-iphoneos.a"; sourceTree = BUILT_PRODUCTS_DIR; };
  47. - 05CD31630EE93905000FDE88 /* libCrashReporter-iphonesimulator.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libCrashReporter-iphonesimulator.a"; sourceTree = BUILT_PRODUCTS_DIR; };
  48. + 05CD31520EE936A9000FDE88 /* libCrashReporter.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libCrashReporter.a; sourceTree = BUILT_PRODUCTS_DIR; };
  49. + 05CD31630EE93905000FDE88 /* libCrashReporter.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libCrashReporter.a; sourceTree = BUILT_PRODUCTS_DIR; };
  50. 05CD31890EE93A90000FDE88 /* CrashReporter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CrashReporter.h; sourceTree = "<group>"; };
  51. 05CD318A0EE93A90000FDE88 /* CrashReporter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CrashReporter.m; sourceTree = "<group>"; };
  52. 05CD32690EE93DC3000FDE88 /* Tests-MacOSX.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Tests-MacOSX.octest"; sourceTree = BUILT_PRODUCTS_DIR; };
  53. @@ -1361,7 +1361,7 @@
  54. isa = PBXFrameworksBuildPhase;
  55. buildActionMask = 2147483647;
  56. files = (
  57. - 052A46271363553A00987004 /* libCrashReporter-iphoneos.a in Frameworks */,
  58. + 052A46271363553A00987004 /* libCrashReporter.a in Frameworks */,
  59. );
  60. runOnlyForDeploymentPostprocessing = 0;
  61. };
  62. @@ -1369,7 +1369,7 @@
  63. isa = PBXFrameworksBuildPhase;
  64. buildActionMask = 2147483647;
  65. files = (
  66. - 052A46561363561B00987004 /* libCrashReporter-iphonesimulator.a in Frameworks */,
  67. + 052A46561363561B00987004 /* libCrashReporter.a in Frameworks */,
  68. );
  69. runOnlyForDeploymentPostprocessing = 0;
  70. };
  71. @@ -1407,7 +1407,7 @@
  72. isa = PBXFrameworksBuildPhase;
  73. buildActionMask = 2147483647;
  74. files = (
  75. - 0550A1100EECFEDC0037F7C3 /* libCrashReporter-iphonesimulator.a in Frameworks */,
  76. + 0550A1100EECFEDC0037F7C3 /* libCrashReporter.a in Frameworks */,
  77. );
  78. runOnlyForDeploymentPostprocessing = 0;
  79. };
  80. @@ -1415,7 +1415,7 @@
  81. isa = PBXFrameworksBuildPhase;
  82. buildActionMask = 2147483647;
  83. files = (
  84. - 0573B43416810AB400395F2A /* libCrashReporter-iphoneos.a in Frameworks */,
  85. + 0573B43416810AB400395F2A /* libCrashReporter.a in Frameworks */,
  86. );
  87. runOnlyForDeploymentPostprocessing = 0;
  88. };
  89. @@ -1459,8 +1459,8 @@
  90. isa = PBXGroup;
  91. children = (
  92. 8DC2EF5B0486A6940098B216 /* CrashReporter.framework */,
  93. - 05CD31520EE936A9000FDE88 /* libCrashReporter-iphoneos.a */,
  94. - 05CD31630EE93905000FDE88 /* libCrashReporter-iphonesimulator.a */,
  95. + 05CD31520EE936A9000FDE88 /* libCrashReporter.a */,
  96. + 05CD31630EE93905000FDE88 /* libCrashReporter.a */,
  97. 05CD32690EE93DC3000FDE88 /* Tests-MacOSX.octest */,
  98. 05CD32A90EE94062000FDE88 /* Tests-iOS-Simulator.app */,
  99. 05CD33240EE94439000FDE88 /* Tests-iOS-Device.app */,
  100. @@ -2509,7 +2509,7 @@
  101. );
  102. name = "CrashReporter-iOS-Device";
  103. productName = "CrashReporter-iPhoneOS";
  104. - productReference = 05CD31520EE936A9000FDE88 /* libCrashReporter-iphoneos.a */;
  105. + productReference = 05CD31520EE936A9000FDE88 /* libCrashReporter.a */;
  106. productType = "com.apple.product-type.library.static";
  107. };
  108. 05CD31620EE93905000FDE88 /* CrashReporter-iOS-Simulator */ = {
  109. @@ -2527,7 +2527,7 @@
  110. );
  111. name = "CrashReporter-iOS-Simulator";
  112. productName = "CrashReporter-iPhoneSimulator";
  113. - productReference = 05CD31630EE93905000FDE88 /* libCrashReporter-iphonesimulator.a */;
  114. + productReference = 05CD31630EE93905000FDE88 /* libCrashReporter.a */;
  115. productType = "com.apple.product-type.library.static";
  116. };
  117. 05CD32680EE93DC3000FDE88 /* Tests-MacOSX */ = {
  118. @@ -3775,7 +3775,6 @@
  119. COPY_PHASE_STRIP = NO;
  120. DYLIB_COMPATIBILITY_VERSION = 1;
  121. DYLIB_CURRENT_VERSION = 1;
  122. - EFFECTIVE_PLATFORM_NAME = "-iphone";
  123. FRAMEWORK_VERSION = A;
  124. GCC_DYNAMIC_NO_PIC = NO;
  125. GCC_MODEL_TUNING = G5;
  126. @@ -3801,7 +3800,6 @@
  127. COPY_PHASE_STRIP = YES;
  128. DYLIB_COMPATIBILITY_VERSION = 1;
  129. DYLIB_CURRENT_VERSION = 1;
  130. - EFFECTIVE_PLATFORM_NAME = "-iphone";
  131. FRAMEWORK_VERSION = A;
  132. GCC_MODEL_TUNING = G5;
  133. INFOPLIST_FILE = Resources/Info.plist;
  134. @@ -3855,7 +3853,7 @@
  135. "IPHONEOS_DEPLOYMENT_TARGET[arch=arm64]" = 7.0;
  136. MACH_O_TYPE = staticlib;
  137. ONLY_ACTIVE_ARCH = NO;
  138. - PRODUCT_NAME = "CrashReporter${EFFECTIVE_PLATFORM_NAME}";
  139. + PRODUCT_NAME = CrashReporter;
  140. SDKROOT = iphoneos;
  141. SKIP_INSTALL = YES;
  142. TARGETED_DEVICE_FAMILY = "1,2";
  143. @@ -3876,7 +3874,7 @@
  144. "IPHONEOS_DEPLOYMENT_TARGET[arch=arm64]" = 7.0;
  145. MACH_O_TYPE = staticlib;
  146. ONLY_ACTIVE_ARCH = NO;
  147. - PRODUCT_NAME = "CrashReporter${EFFECTIVE_PLATFORM_NAME}";
  148. + PRODUCT_NAME = CrashReporter;
  149. SDKROOT = iphoneos;
  150. SKIP_INSTALL = YES;
  151. TARGETED_DEVICE_FAMILY = "1,2";
  152. @@ -3898,7 +3896,7 @@
  153. IPHONEOS_DEPLOYMENT_TARGET = 4.3;
  154. MACH_O_TYPE = staticlib;
  155. ONLY_ACTIVE_ARCH = NO;
  156. - PRODUCT_NAME = "CrashReporter${EFFECTIVE_PLATFORM_NAME}";
  157. + PRODUCT_NAME = CrashReporter;
  158. SDKROOT = iphonesimulator;
  159. SKIP_INSTALL = YES;
  160. };
  161. @@ -3916,7 +3914,7 @@
  162. IPHONEOS_DEPLOYMENT_TARGET = 4.3;
  163. MACH_O_TYPE = staticlib;
  164. ONLY_ACTIVE_ARCH = NO;
  165. - PRODUCT_NAME = "CrashReporter${EFFECTIVE_PLATFORM_NAME}";
  166. + PRODUCT_NAME = CrashReporter;
  167. SDKROOT = iphonesimulator;
  168. SKIP_INSTALL = YES;
  169. ZERO_LINK = NO;
  170. --
  171. 1.8.3.4 (Apple Git-47)