Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 1501886

Browse files
[[ Bug 14326 ]] Ensure that all the symbols from external.c are passed to iOS external (including setExternalInterfaceVersion)
1 parent 1e8315a commit 1501886

4 files changed

Lines changed: 11 additions & 4 deletions

File tree

libexternal/src/external.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,9 @@ static struct LibExport __libexports[] =
506506
{
507507
{ "getXtable", getXtable },
508508
{ "configureSecurity", configureSecurity },
509+
// SN-2015-03-25: [[ Bug 14326 ]] Do not forget to add setExternalInterfaceVersion
510+
// in order to be able to use any external function after version 1
511+
{ "setExternalInterfaceVersion", setExternalInterfaceVersion },
509512
{ 0, 0 }
510513
};
511514

revdb/revdb-mobile.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@
446446
);
447447
runOnlyForDeploymentPostprocessing = 0;
448448
shellPath = /bin/sh;
449-
shellScript = "export SYMBOLS=_getXtable\nsh \"$SRCROOT/../tools/build-extension-ios.sh\"";
449+
shellScript = "export SYMBOLS=\"_getXtable _configureSecurity _setExternalInterfaceVersion\"\nsh \"$SRCROOT/../tools/build-extension-ios.sh\"";
450450
showEnvVarsInLog = 0;
451451
};
452452
4DA0BA7E12E842B500B4F692 /* Build External */ = {

revxml/revxml-mobile.xcodeproj/project.pbxproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
isa = PBXContainerItemProxy;
2222
containerPortal = 4DE75F2A17E0995F00832B1D /* libxslt-mobile.xcodeproj */;
2323
proxyType = 1;
24-
remoteGlobalIDString = 4D7EFD7912E72ABA00D67888 /* xslt */;
24+
remoteGlobalIDString = 4D7EFD7912E72ABA00D67888;
2525
remoteInfo = xslt;
2626
};
2727
4D379C911714207A00B9037C /* PBXContainerItemProxy */ = {
@@ -201,6 +201,8 @@
201201
/* Begin PBXProject section */
202202
4D7EFD3A12E72A1C00D67888 /* Project object */ = {
203203
isa = PBXProject;
204+
attributes = {
205+
};
204206
buildConfigurationList = 4D7EFD3D12E72A1C00D67888 /* Build configuration list for PBXProject "revxml-mobile" */;
205207
compatibilityVersion = "Xcode 3.2";
206208
developmentRegion = English;
@@ -275,7 +277,7 @@
275277
);
276278
runOnlyForDeploymentPostprocessing = 0;
277279
shellPath = /bin/sh;
278-
shellScript = "export SYMBOLS=_getXtable\nsh \"$SRCROOT/../tools/build-extension-ios.sh\"";
280+
shellScript = "export SYMBOLS=\"_getXtable _configureSecurity _setExternalInterfaceVersion\"\nsh \"$SRCROOT/../tools/build-extension-ios.sh\"";
279281
};
280282
/* End PBXShellScriptBuildPhase section */
281283

revzip/revzip-mobile.xcodeproj/project.pbxproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@
169169
/* Begin PBXProject section */
170170
4D7EFD3A12E72A1C00D67888 /* Project object */ = {
171171
isa = PBXProject;
172+
attributes = {
173+
};
172174
buildConfigurationList = 4D7EFD3D12E72A1C00D67888 /* Build configuration list for PBXProject "revzip-mobile" */;
173175
compatibilityVersion = "Xcode 3.2";
174176
developmentRegion = English;
@@ -232,7 +234,7 @@
232234
);
233235
runOnlyForDeploymentPostprocessing = 0;
234236
shellPath = /bin/sh;
235-
shellScript = "export SYMBOLS=_getXtable\nsh \"$SRCROOT/../tools/build-extension-ios.sh\"";
237+
shellScript = "export SYMBOLS=\"_getXtable _configureSecurity _setExternalInterfaceVersion\"\nsh \"$SRCROOT/../tools/build-extension-ios.sh\"";
236238
showEnvVarsInLog = 0;
237239
};
238240
/* End PBXShellScriptBuildPhase section */

0 commit comments

Comments
 (0)