GithubHelp home page GithubHelp logo

ios-client-sdk's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ios-client-sdk's Issues

Invalid framework build

I've getting the following error messages from Apple when submitting to my app with the Ziggeo.framework included:

The executable 'Payload/MyApp.app/Frameworks/Ziggeo.framework' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information refer to Technical Q&A QA1788 - Building a Position Independent Executable in the iOS Developer Library."

Unsupported Architectures. The executable for MyApp.app/Frameworks/Ziggeo.framework contains unsupported architectures '[x86_64, i386]'."

"Invalid Segment Alignment. The app binary at 'MyApp.app/Frameworks/Ziggeo.framework/Ziggeo' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version."

"The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker."

It seems that rebuilding the framework with the latest version of XCode would fix the issue.

Thanks!

No armv7 version?

Unable to build for a generic iOS device for release distribution in Xcode because there are no binaries for armv7 in Output/Ziggeo.framework

ld: warning: ignoring file /Users/MyUser/MyProject/app/app/ios/Pods/iOS-Client-SDK/Output/Ziggeo.framework/Ziggeo, file is universal (x86_64,arm64) but does not contain the armv7 architecture: /Users/MyUser/MyProject/app/app/ios/Pods/iOS-Client-SDK/Output/Ziggeo.framework/Ziggeo
Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_ZiggeoPlayer", referenced from:
      objc-class-ref in libZiggeoRN.a(RCTZiggeoVideoView.o)
  "_OBJC_CLASS_$_ZiggeoRecorder", referenced from:
      objc-class-ref in libZiggeoRN.a(ZCameraViewManagerManager.o)
     (maybe you meant: _OBJC_CLASS_$_ZiggeoRecorderContext)
  "_OBJC_CLASS_$_ZiggeoRecorderInterfaceConfig", referenced from:
      objc-class-ref in libZiggeoRN.a(RCTZiggeoRecorder.o)
  "_OBJC_CLASS_$_ButtonConfig", referenced from:
      objc-class-ref in libZiggeoRN.a(RCTZiggeoRecorder.o)
  "_OBJC_CLASS_$_Ziggeo", referenced from:
      objc-class-ref in libZiggeoRN.a(RCTAudios.o)
      objc-class-ref in libZiggeoRN.a(RCTImages.o)
      objc-class-ref in libZiggeoRN.a(RCTVideos.o)
      objc-class-ref in libZiggeoRN.a(RCTZiggeoRecorder.o)
      objc-class-ref in libZiggeoRN.a(ZCameraViewManagerManager.o)
      objc-class-ref in libZiggeoRN.a(RCTZiggeoPlayer.o)
      objc-class-ref in libZiggeoRN.a(RCTZiggeoVideoView.o)
      ...
     (maybe you meant: _OBJC_CLASS_$_ZiggeoRecorderContext, _OBJC_CLASS_$_ZiggeoConstants )
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Podfile:

pod 'iOS-Client-SDK',
    :git => 'https://github.com/Ziggeo/iOS-Client-SDK.git',
    :branch => '1.1.37' # same error with master branch

Pod name is too generic

iOS-Client-SDK is a pretty generic name for a CocoaPods library. Perhaps it would be better to add "Ziggeo" to the name to avoid possible name collision with other vendor's pods. It would also make it a little easier to browser the source code inside the Pods/ directory after installed.

Uncaught exception 'NSInternalInconsistencyException'

Hello,
when I run the CustomUITestApp project from the samples I get

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'accessing _cachedSystemAnimationFence requires the main thread'

after I press the "Stop and upload button".

iOS ZiggeoRecorder2 (beta) Capture duration limit?

Hello,
For iOS sdk, does ZiggeoRecorder2 (beta) supports duration limit as ZiggeoRecorder?
I couldn't find anything about it on github page, maybe using extraArgsForCreateVideo value?
can you please help me
Thanks

ld: building for iOS Simulator, but linking in dylib built for iOS, file '.../Pods/iOS-Client-SDK/Output/SelfieSegmentation.framework/SelfieSegmentation' for architecture arm64

When you build and run Ziggeo SDK on an M1 Mac inside the iOS Simulator, linker complains about architecture mismatch:

ld: building for iOS Simulator, but linking in dylib built for iOS, file '.../Pods/iOS-Client-SDK/Output/SelfieSegmentation.framework/SelfieSegmentation' for architecture arm64

Per Apple's technical note at https://developer.apple.com/documentation/technotes/tn3117-resolving-build-errors-for-apple-silicon the vendor of SelfieSegmentation should recompile their framework:

Since your app expects this library to be available in builds targeting the simulator, rebuild the library as an XCFramework with support for the simulator on Apple silicon. To learn how to build an XCFramework, see Create an XCFramework. If the library is from a vendor, contact the vendor for an updated XCFramework supporting Apple silicon. If an update isn’t available, remove the dependency from your app.

Note

A pre-compiled library must be built as an XCFramework to separate the device and simulator builds. Combining architectures for iOS, watchOS, or tvOS and their respective simulators into a single binary file is not supported.

If you’re developing a watchOS app, all XCFrameworks for your watchOS app must contain arm64 or x86_64 libraries built specifically for the watchOS simulator. If you need to test your watchOS app specifically using the i386 architecture with the watchOS simulator, use an Intel-based Mac.

A common suggestion for fixing this issue is to set EXCLUDED_ARCHS to arm64 in a project's build settings for the simulator target, but this makes your iOS app run non-natively under Rosetta (as x86 code) when launching on the simulator and causes a bunch of other issues.

Update:

It seems that the same needs to be done for ZIggeo.framework.

'Ziggeo/Ziggeo.h' file not found

Hi,
after changing platform :ios in Podfile from 10 to 12
"platform :ios, '12.0'"
when i am trying to run app in ios i get this error
/node_modules/react-native-ziggeo-library/ios/Recorder/ZiggeoRecorderContext.h:12:9: 'Ziggeo/Ziggeo.h' file not found
Thanks for any help on the issue.

Upload Problems

I did everything on sdk documentation but when I try to upload it to app store I am getting this
Can you help me
screen shot 2018-02-04 at 12 49 33

how to setup for EU servers

HI
We are using the objective-c sdk in swift project with the latest Application token: xxxxxxxxxx, I am not able to upload the videos from the sdk, for the reference of sdk version I have attached the info.plist of the sdk and screenshot. The current IOS sdk is pointing to this url "https://embed.ziggeo.com/v1/applications/xxxxxxxxxx/videos?flash_recording=true" while debugging.
getting this response

METHOD: POST
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
BODY:

video created with error = Error Domain=NSCocoaErrorDomain Code=3840 "No value." UserInfo={NSDebugDescription=No value.}, response = (null)

is there help will be from following parameters

@Property (strong, nonatomic) NSString *server_api_url;
@Property (strong, nonatomic) NSString *cdn_api_url;

for switching server URL

Rotation

The main record button and "cancel" label do not rotate correctly when transitioning from portrait to landscape.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.