Skip to content

License troubleshooting

Common license issues and how to resolve them.

Issue 1: SDK initialization fails

[FSLibrary initialize:key:] returns a code other than FSErrSuccess.

Troubleshooting

  1. Verify SN and key: sn is the string after SN= in rdk_sn.txt; key is the string after Sign= in rdk_key.txt.
  2. Check for extra whitespace or newlines when copying values.
  3. Confirm the license is not expired: trial licenses are time-limited; ensure the current date is within the valid period.

Issue 2: Device time does not match license dates

If the device date is earlier than the license StartDate, initialization may fail.

Solution

Set the system clock correctly or use automatic date and time.

Issue 3: Initialization fails after CocoaPods integration

Troubleshooting

  1. Open the project with .xcworkspace, not .xcodeproj.
  2. Confirm FoxitRDK.framework is linked (visible under Target → Frameworks).
  3. Run pod install and reopen the workspace.