Code Monkey home page Code Monkey logo

Comments (3)

ASemeniuk avatar ASemeniuk commented on July 21, 2024 1

I also experience this error. Any chance for it to be fixed? There is already a pull-request with fixes 7b697fa

from audio_recorder.

orestesgaolin avatar orestesgaolin commented on July 21, 2024

A bit more readable log:

Running pod install...                                              1,7s
Xcode build done.                                            3,4s
Failed to build iOS app
Error output from Xcode build:
↳
    2020-04-07 09:31:24.180 xcodebuild[11333:15243969]  DTDeviceKit: deviceType from f96e187ec1f51b6be1830c7965a482dc653765d2 was NULL
    2020-04-07 09:31:24.260 xcodebuild[11333:15243964]  DTDeviceKit: deviceType from f96e187ec1f51b6be1830c7965a482dc653765d2 was NULL
    ** BUILD FAILED **
Xcode's output:
↳
    /Users/dominik/.pub-cache/hosted/pub.dartlang.org/audio_recorder-1.0.2/ios/Classes/SwiftAudioRecorderPlugin.swift:39:108: error: 'AVAudioSessionCategoryOptions' has been renamed to 'AVAudioSession.CategoryOptions'
                    try AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayAndRecord, with: AVAudioSessionCategoryOptions.defaultToSpeaker)
                                                                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                                               AVAudioSession.CategoryOptions
    AVFoundation.AVAudioSessionCategoryOptions:2:18: note: 'AVAudioSessionCategoryOptions' was obsoleted in Swift 4.2
    public typealias AVAudioSessionCategoryOptions = AVAudioSession.CategoryOptions
                     ^
    /Users/dominik/.pub-cache/hosted/pub.dartlang.org/audio_recorder-1.0.2/ios/Classes/SwiftAudioRecorderPlugin.swift:67:52: error: cannot call value of non-function type 'AVAudioSession.RecordPermission'
                switch AVAudioSession.sharedInstance().recordPermission(){
                                                       ^               ~~
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
Could not build the precompiled application for the device.

from audio_recorder.

tuanbs avatar tuanbs commented on July 21, 2024

Got same error: Could not build the precompiled application for the device.

from audio_recorder.

Related Issues (20)

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.