cancel
Showing results for 
Search instead for 
Did you mean: 

SMP Agentry setup for Mac

leonh
Participant
0 Kudos

After having followed [this blog](https://blogs.sap.com/2015/10/13/how-to-create-an-agentry-client-for-ios-using-smp-sdk-sp10-and-xcod...) on setting up Agentry for Mac using the SAP Sample, the app crashes on my emulator after passing the SAP splash screen and trying to boot the actual app. The warning I believe to cause the "signal abort" error is:

ld: warning: ignoring file ../../../iOS/SMPAgentryClient.framework/SMPAgentryClient, missing required architecture x86_64 in file ../../../iOS/SMPAgentryClient.framework/SMPAgentryClient (3 slices)

I have tried adjusting the Architectures and Valid Architectures to $(ARCHS_STANDARD_32_BIT) and "i386 armv7 armv7s" respectively, however when I remove `arm64` from the valid architectures I am denied access to the xcode project file and cannot run the project (build completes successfully). I found these architecture types by running the `file` command on the SMPAgentryClient file, as per the below.

How can I run this sample project without errors and crashes?

Accepted Solutions (1)

Accepted Solutions (1)

leonh
Participant
0 Kudos

Downloading SMP 3.1 seems to make everything run correctly, originally I used SMP 3.0 and that caused all the issues.

Answers (1)

Answers (1)

mark_pe
Active Contributor

Leon,

Typical issue that we have seen from SAP with developers are sometimes tied to the actual Xcode versions wherein either the application that you are trying to do may have some libraries that currently is not supported with the SDK.

Your error: "missing required architecture x86_64 infile../../../iOS/SMPAgentryClient.framework/SMPAgentryClient"

Some potential techniques to try is review your Xcode versions and try older or newer versions. Something is currently missing with the files (most likely something is not supported yet).

Rule of thumb: If iOS Xcode was released this year (Or a beta code is released this year), always try 2 years older iOS Xcode versions as a test first. Never try the latest as it takes time for the team to test anything that may be 3~6 months old.

This is just a suggestion.

Regards,

Mark