Skip to content

Commit 64c31a9

Browse files
committed
Work around App Store limitation
bibledit/cloud#801
1 parent 92680bf commit 64c31a9

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

Bibledit.xcodeproj/project.pbxproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,17 +321,18 @@
321321
CODE_SIGN_ENTITLEMENTS = osx/osx.entitlements;
322322
CODE_SIGN_IDENTITY = "Mac Developer";
323323
COMBINE_HIDPI_IMAGES = YES;
324-
CURRENT_PROJECT_VERSION = 45;
324+
CURRENT_PROJECT_VERSION = 46;
325325
DEVELOPMENT_TEAM = L37WFUB5MH;
326326
ENABLE_HARDENED_RUNTIME = YES;
327327
INFOPLIST_FILE = osx/Info.plist;
328328
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
329329
LIBRARY_SEARCH_PATHS = (
330330
"$(inherited)",
331331
"$(PROJECT_DIR)/webroot",
332+
"/tmp/bibledit-macos",
332333
);
333334
MACOSX_DEPLOYMENT_TARGET = 10.10;
334-
MARKETING_VERSION = 5.0.980;
335+
MARKETING_VERSION = 5.0.982;
335336
PRODUCT_BUNDLE_IDENTIFIER = org.bibledit.osx;
336337
PRODUCT_NAME = Bibledit;
337338
};
@@ -344,17 +345,18 @@
344345
CODE_SIGN_ENTITLEMENTS = osx/osx.entitlements;
345346
CODE_SIGN_IDENTITY = "Mac Developer";
346347
COMBINE_HIDPI_IMAGES = YES;
347-
CURRENT_PROJECT_VERSION = 45;
348+
CURRENT_PROJECT_VERSION = 46;
348349
DEVELOPMENT_TEAM = L37WFUB5MH;
349350
ENABLE_HARDENED_RUNTIME = YES;
350351
INFOPLIST_FILE = osx/Info.plist;
351352
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
352353
LIBRARY_SEARCH_PATHS = (
353354
"$(inherited)",
354355
"$(PROJECT_DIR)/webroot",
356+
"/tmp/bibledit-macos",
355357
);
356358
MACOSX_DEPLOYMENT_TARGET = 10.10;
357-
MARKETING_VERSION = 5.0.980;
359+
MARKETING_VERSION = 5.0.982;
358360
PRODUCT_BUNDLE_IDENTIFIER = org.bibledit.osx;
359361
PRODUCT_NAME = Bibledit;
360362
};

build.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,15 @@ find .. -name "*.sh" -delete
146146
rm -rf xcode.xcodeproj
147147

148148

149+
echo Clean libraries away so they won't be included.
150+
cd ../..
151+
if [ $? != 0 ]; then exit; fi
152+
mv macos/webroot/libbibledit.a .
153+
if [ $? != 0 ]; then exit; fi
154+
rm macos/build/Release/Bibledit.app/Contents/Resources/webroot/libbibledit.a
155+
if [ $? != 0 ]; then exit; fi
156+
157+
149158
popd
150159
if [ $? != 0 ]; then exit; fi
151160

@@ -156,6 +165,7 @@ xcodebuild
156165
if [ $? != 0 ]; then exit; fi
157166

158167

168+
159169
echo To graphically build the app for macOS, open the project in Xcode:
160170
echo open $BIBLEDITMACOS/macos/Bibledit.xcodeproj
161171
echo Then build it from within Xcode

0 commit comments

Comments
 (0)